bitcoin-s/chain
Chris Stewart 4bc44269f1 Reorg handling in chain project (#548)
* 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
2019-07-08 08:33:45 -05:00
..
src/main/scala/org/bitcoins/chain Reorg handling in chain project (#548) 2019-07-08 08:33:45 -05:00
build.sbt Node (#490) 2019-06-04 09:53:00 -05:00
README.md Node (#490) 2019-06-04 09:53:00 -05:00

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.