Steve Myers
79262185d5
refactor(chain)!: update KeychainTxOutIndex methods to use owned ScriptBuf
2024-07-21 20:28:01 -05:00
valued mammal
c3fc1dd123
ref(chain)!: create module indexer
...
and replace keychain module with `balance.rs`
2024-07-05 12:22:28 -04:00
valued mammal
b34790c6b6
ref(tx_graph)!: Rename list_chain_txs
to list_canonical_txs
2024-06-30 10:08:54 -04:00
Daniela Brozzoni
1d294b734d
fix: Run tests only if the miniscript feature is..
...
..enabled, enable it by default
2024-05-08 15:49:44 +02:00
Leonardo Lima
8a33d98db9
feat: update wallet::Balance
to use bitcoin::Amount
...
- update all fields `immature`, ` trusted_pending`, `unstrusted_pending`
and `confirmed` to use the `bitcoin::Amount` instead of `u64`
- update all `impl Balance` methods to use `bitcoin::Amount`
- update all tests that relies on `keychain::Balance`
2024-05-04 21:59:07 -03:00
Daniela Brozzoni
0adff9c35f
doc: Improve TxGraph & co docs
2023-12-13 10:12:12 +01:00
志宇
5998a22819
feat!: LocalChain
with hardwired genesis checkpoint
...
This ensures that `LocalChain` will always have a tip. The `ChainOracle`
trait's `get_chain_tip` method no longer needs to return an option.
2023-11-16 06:41:18 +08:00
Wei Chen
991cb77b6f
fix(chain): filter coinbase tx not in best chain
...
Coinbase transactions cannot exist in the mempool and be unconfirmed.
`TxGraph::try_get_chain_position` should always return `None` for coinbase
transactions not anchored in best chain.
2023-11-11 02:55:58 +08:00
Wei Chen
afbf83c8b0
chain(fix): conflict resolution for txs with same last_seen
...
The tx conflict `Scenario` test for unconfirmed txs with the same
last_seen has been amended for its corresponding conflict
resolution bug fix.
2023-11-09 05:46:09 +08:00
Daniela Brozzoni
6d601a7e88
test(chain): Add test for conflicting transactions
...
Co-authored-by: Wei Chen <wzc110@gmail.com>
2023-10-04 14:00:49 +02:00