Henry de Valence
|
dd8ba287bf
|
Correct block version parsing.
|
2020-03-18 21:34:02 -04:00 |
Deirdre Connolly
|
272c3479a8
|
Remove unused BlockTestVector struct
Resolves #260
|
2020-02-20 15:05:13 -05:00 |
Henry de Valence
|
5059c23e99
|
Add test vectors for genesis & early blocks.
|
2020-02-14 18:23:41 -05:00 |
Henry de Valence
|
3c6fda8e0b
|
Make the BlockHeaderHash conversions work on borrows.
|
2020-02-10 09:03:56 -08:00 |
Deirdre Connolly
|
866acde6e8
|
Add BLOCK_MAINNET_415000_BYTES test vector and a test to deserialize it
And println! it, for human eyeballs checking.
Resolves #218
Also changes the header constant to use _BYTES.
|
2020-02-07 13:42:21 -08:00 |
Deirdre Connolly
|
b860461644
|
Update test block header hash
|
2020-02-04 18:04:53 -05:00 |
Deirdre Connolly
|
4fcb66ad3b
|
Read and write the block header version, which is fixed at 4
|
2020-02-04 18:04:53 -05:00 |
Deirdre Connolly
|
7ebb5ccd41
|
Add a simple test to check that our mainnet blockheader test vector deserializes without error
|
2020-02-04 18:04:53 -05:00 |
Deirdre Connolly
|
9257d838bd
|
Use Result::expect() in test (de)serializations
|
2020-02-04 18:04:53 -05:00 |
Deirdre Connolly
|
d12db25acb
|
Cleanup
|
2020-02-04 18:04:53 -05:00 |
Deirdre Connolly
|
36e9bb162f
|
Move block type tests and proptest support impls to block::tests
|
2020-02-04 18:04:53 -05:00 |
Deirdre Connolly
|
e9d1f91d67
|
Make MerkleTreeRootHash wrapped array public
|
2020-02-04 18:04:53 -05:00 |