]> Untitled Git - bdk/commit
[bdk_chain_redesign] Introduce `ChainOracle` and `TxIndex` traits
author志宇 <hello@evanlinjin.me>
Fri, 24 Mar 2023 07:47:39 +0000 (15:47 +0800)
committer志宇 <hello@evanlinjin.me>
Sun, 26 Mar 2023 03:03:35 +0000 (11:03 +0800)
commit61a8606fbcaec933f915c4f0600cd6f5e35636e8
treeb64fcfae855d7651928df11ae6e62d70641325f2
parent5ae5fe30ebd53d72fe567509506ae0cda7a3a244
[bdk_chain_redesign] Introduce `ChainOracle` and `TxIndex` traits

The chain oracle keeps track of the best chain, while the transaction
index indexes transaction data in relation to script pubkeys.

This commit also includes initial work on `IndexedTxGraph`.
crates/chain/src/chain_data.rs
crates/chain/src/keychain.rs
crates/chain/src/keychain/txout_index.rs
crates/chain/src/sparse_chain.rs
crates/chain/src/spk_txout_index.rs
crates/chain/src/tx_data_traits.rs
crates/chain/src/tx_graph.rs