mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2024-11-19 18:02:54 +01:00
4bc44269f1
* Implement 'IndexedSeqLike' on Blockchain data structure to give us access to the scala collection methods we know and love * Implement ability to handle reorgs in Blockchain.connectTip() * Add another test case for where block B and C are at the same height as each other, with B being the best block hash. When block D comes in, it is built on top of block C so that means our best block hash should switch to C and then to D after D is connected * Add more unit tests to Blockchain reorg handling * Address torkel's code review |
||
---|---|---|
.. | ||
src/main/scala/org/bitcoins/chain | ||
build.sbt | ||
README.md |
chain
This is meant to be a stand alone project that process a new block / transaction and stores it. It also provides a interface to query information related to a blockchain.
The design goal with this project is to be agnostic of how the project is receiving the blockchain data, just that it processes and stores it. For instance you could provide the blockchain data via
- rpc
- zmq
- p2p
- sattelite
This project just stores relevant block
and transaction
information and allows
for it to be queried via a api.