mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00

1. Save pre-commit state in the beginning of end block. 2. Provide an interface for custom elections to rollback on crash recovery. 3. Simplify pre-commit management. 4. Add crash recovery for updert-validator and chain migration elecitons.
BigchainDB Server Unit Tests
Most of the tests in the tests/
folder are unit tests. For info about how to write and run tests, see the docs about contributing to BigchainDB, especially:
- Write Code - Remember to Write Tests
- Notes on Running a Local Dev Node with Docker Compose, especially
make test
- Notes on Running a Local Dev Node as Processes (and Running All Tests)
Note: There are acceptance tests in the acceptance/
folder (at the same level in the hierarchy as the tests/
folder).