mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-02-22 14:33:06 +01:00
Update README.md
This commit is contained in:
parent
9282bd1156
commit
7f36f83364
1 changed files with 7 additions and 1 deletions
|
@ -8,11 +8,17 @@ This repostitory includes the following functionality:
|
|||
- Native Scala objects for various protocol types (Transaction, TransactionInput, ScriptSignatures...)
|
||||
- Serializers and deserializers for bitcoin data structures mentioned above
|
||||
- An implementation of Bitcoin's Script programming language
|
||||
- This passes all of the test cases found inside of script_tests.json on the Bitcoin Core repo
|
||||
- Passes all tests found in Bitcoin Core's regression test suite called [script_test.json](https://github.com/bitcoin/bitcoin/blob/master/src/test/data/script_tests.json)
|
||||
- Passes all tests inside of Bitcoin Core's transaction regression test suite [tx_valid.json](https://github.com/bitcoin/bitcoin/blob/master/src/test/data/tx_valid.json) / [tx_invalid.json](https://github.com/bitcoin/bitcoin/blob/master/src/test/data/tx_invalid.json)
|
||||
- Currently up to date through OP_CHECKSEQUENCEVERIFY
|
||||
- 90% test coverage throughout the codebase to ensure high quality code.
|
||||
- Functions documented with Scaladocs for user friendliness
|
||||
|
||||
# Design Principles
|
||||
- Immutable data structures everywhere
|
||||
- Using Algebraic Data Types to allow the compiler to check for exhaustiveness on match statements
|
||||
- Favoring readability over terseness
|
||||
|
||||
# Examples
|
||||
|
||||
Here is an example scala console session with bitcoin-core-s
|
||||
|
|
Loading…
Add table
Reference in a new issue