Jack Grigg
|
6e8c457e30
|
zcash_primitives: Show hex encoding of `BlockHash` in its `Debug` impl
The (byte-flipped) hex string is more useful than the raw bytes, because
we can look that up in RPC methods and block explorers.
|
2022-04-05 17:55:56 +00:00 |
Kris Nuttycombe
|
a304c3953b
|
Fix Clippy beta linting complaints.
|
2022-02-02 16:02:45 -07:00 |
Kris Nuttycombe
|
ef98c7e48c
|
Add zcash_encoding crate.
The CompactSize type, and the standardized encodings for the Vector,
Array and Option types are moved to the newly created crate.
|
2021-08-31 13:19:24 -06:00 |
Jack Grigg
|
0bbcd8c408
|
Remove unnecessary imports
|
2020-10-30 13:22:46 +00:00 |
Jack Grigg
|
5b2c71e112
|
Move Equihash verification APIs into equihash crate
|
2020-06-26 13:01:04 +12:00 |
Jack Grigg
|
2bbd25b36b
|
Add prevHash field to CompactBlock
This enables basic verification of chain validity when CompactBlocks are
received without the full header.
|
2019-10-09 14:11:14 +13:00 |
Jack Grigg
|
a3b85b8fe6
|
Compute and store BlockHash inside BlockHeader
|
2019-10-09 14:11:14 +13:00 |
Jack Grigg
|
4ad3988e43
|
Crate docs
|
2019-09-24 14:23:59 +01:00 |
Jack Grigg
|
3a8efd9e67
|
Address various clippy warnings/errors in zcash_primitives
|
2019-08-24 00:39:49 +01:00 |
Jack Grigg
|
d78c94b2a2
|
Move Equihash validator into zcash_primitives
|
2019-08-24 00:37:00 +01:00 |
Eirik Ogilvie-Wigley
|
c28ae31c71
|
cargo fix --edition-idioms for zcash_primitives
|
2019-08-20 22:20:22 -06:00 |
Eirik Ogilvie-Wigley
|
b0d8747697
|
cargo fix --edition for zcash_primitives
|
2019-08-20 17:15:07 -06:00 |
Jack Grigg
|
b856d23069
|
Reverse a clone of [u8; 32] instead of allocating
|
2019-03-07 23:43:58 +00:00 |
Jack Grigg
|
670bb277e9
|
Block header serialisation
|
2019-03-07 23:41:59 +00:00 |
Jack Grigg
|
a1664c6bbc
|
impl Display for BlockHash and TxId
|
2019-03-07 23:41:46 +00:00 |
Jack Grigg
|
e21be37042
|
Block header representation
|
2019-03-07 23:26:00 +00:00 |