Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add RBF and CPFP Batcher wallets #21

Merged
merged 47 commits into from
Jul 25, 2024
Merged
Show file tree
Hide file tree
Changes from 40 commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
a962199
batcher init
yash1io Jul 10, 2024
ec01186
cpfp batcher
yash1io Jul 10, 2024
4891db9
cpfp batcher tests init
yash1io Jul 12, 2024
f5cec84
added rbf and tests
yash1io Jul 15, 2024
3bbd67b
added comments
yash1io Jul 15, 2024
06a8451
merge master
yash1io Jul 15, 2024
015d275
adds sacp support
yash1io Jul 15, 2024
3344e6b
fixes batch wallet tests
yash1io Jul 15, 2024
339549e
add comments for batcher store implementation
yash1io Jul 16, 2024
42a8a38
add buffer fee for variable sig sizes
yash1io Jul 16, 2024
e040863
generalize tests init
yash1io Jul 16, 2024
4e1630e
add comments
yash1io Jul 17, 2024
1194431
add build and validate sacps
yash1io Jul 17, 2024
daf6552
refactor
Revantark Jul 17, 2024
0070f6c
refactor
Revantark Jul 17, 2024
2da93fa
remove unused struct field
Revantark Jul 18, 2024
8ed0e44
check unconfirmed utxos
yash1io Jul 18, 2024
784250b
check dublicate inputs
yash1io Jul 18, 2024
d48bd22
increase buffer fee
yash1io Jul 18, 2024
84ea006
update test for batcher
yash1io Jul 18, 2024
2bd39b5
accomodate sacp fee in fee calculation
yash1io Jul 18, 2024
fe854eb
chore updates
yash1io Jul 18, 2024
ac90457
update tx serialization
yash1io Jul 18, 2024
543ab30
replace with default context
yash1io Jul 18, 2024
9cacd72
fix merge
yash1io Jul 19, 2024
fc4882f
cleanup
yash1io Jul 19, 2024
7ca4575
cleanup
yash1io Jul 19, 2024
8ceb07f
fixed rbf test
yash1io Jul 19, 2024
2c135c7
reduced wait time in tests
yash1io Jul 19, 2024
7817dfa
removed unsed err handling
yash1io Jul 19, 2024
1ce7e5a
fix tests
yash1io Jul 19, 2024
15dcd28
rbf wallet single output to self
yash1io Jul 19, 2024
af731fb
add rbf tests with no confirmations
yash1io Jul 19, 2024
5bb2820
removed panics
yash1io Jul 19, 2024
81dd489
fixed more tests
yash1io Jul 19, 2024
746288c
refactor
yash1io Jul 19, 2024
368db29
refactor rbf
yash1io Jul 19, 2024
00fa2c0
test workflow
yash1io Jul 19, 2024
4969125
update amount to int64
yash1io Jul 19, 2024
e5bf067
update workflow
yash1io Jul 19, 2024
5c86242
refactor comments
Revantark Jul 19, 2024
b600524
refactor
Revantark Jul 20, 2024
b316bc8
remove explicit retries
yash1io Jul 20, 2024
12456af
fix race condition while stopping
yash1io Jul 21, 2024
a4c663b
handle error
Revantark Jul 22, 2024
57f136d
add batcher store and refactor
Revantark Jul 24, 2024
e12ef8c
add more logs
Revantark Jul 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,18 @@ jobs:
- name: Check out code
uses: actions/checkout@v4
- name: Setup golang
uses : actions/setup-go@v4
with :
go-version : '>=1.19.0'
uses: actions/setup-go@v4
with:
go-version: ">=1.19.0"
- name: Install merry
run: curl https://get.merry.dev | bash
- name : Start merry
- name: Start merry
run: merry go --bare --headless
- name: Install Ginkgo
run: go install github.com/onsi/ginkgo/v2/ginkgo@latest
- name: generate test generate coverage
run: go test $(go list ./... | grep -v /localnet | grep -v /evm/bindings) -coverprofile=./cover.out
run: go test $(go list ./... | grep -v /localnet | grep -v /evm/bindings) -coverprofile=./cover.out && ginkgo ./btc --focus Wallets -- -mode=batcher_rbf && ginkgo ./btc --focus Wallets -- -mode=batcher_cpfp
env:
BTC_REGNET_USERNAME: "admin1"
BTC_REGNET_PASSWORD: "123"
BTC_REGNET_INDEXER: "http://0.0.0.0:30000"
BTC_REGNET_INDEXER: "http://0.0.0.0:30000"
Loading
Loading