Commit Graph

5 Commits

Author SHA1 Message Date
Louis Singer
287db4e08a Support round expiration and sweep vtxos (#70)
* sweeper base implementation

* sweeper service final implementation

* fixes

* fix CSV script

* RoundSwept event fix & test

* remove Vtxos after a sweep transaction

* ARK_ROUND_LIFETIME config

* remove TxBuilder.GetLifetime

* refactor sweeper

* use GetTransaction blocktime

* polish and comments

* fix linting

* pair programming fixes

* several fixes

* clean Println

* fixes

* linter fixes

* remove infrastructure deps from application layer

* Fixes

---------

Co-authored-by: altafan <18440657+altafan@users.noreply.github.com>
2024-02-08 16:58:04 +01:00
Pietralberto Mazza
940214f699 Detect redemptions and mark vtxos has redeemed (#87)
* Update ocean protos & Add blockchain scanner

* Detect redemptions and mark vtxos as redeemed

* Update comment

* Fixes

* Fix watched event type

* Fixes

* Fixes

* Restore watching vtxos at startup

* Update deps
2024-02-08 13:40:28 +01:00
Pietralberto Mazza
554eaeb406 Add explorer-like endpoint to retrieve spendable vtxos for address (#37)
* Add GetSpendableVtxosWithId to repo

* Add endpoint to retrieve spendable vtxos
2023-12-04 17:28:01 +01:00
Pietralberto Mazza
be1f4654f9 Add badger implementations of repos (#22)
* Fixes to domain layer

* Update repo manager interface

* Add badger repo impls

* Keep projection store in sync with event store

* Update deps

* Remove ripemd160
2023-11-30 14:16:44 +01:00
Pietralberto Mazza
0210d39866 Monorepo scaffolding (#16)
* Change scaffolding

* Fix gh action
2023-11-27 14:23:22 +01:00