block: use buffer, faster, verified
This commit is contained in:
parent
86b51b2d62
commit
bac700f52c
2 changed files with 16 additions and 7 deletions
test/fixtures
6
test/fixtures/block.json
vendored
6
test/fixtures/block.json
vendored
|
@ -6,7 +6,7 @@
|
|||
},
|
||||
{
|
||||
"bits": "1b80ffff",
|
||||
"expected": "000000000080ffff000000000000000000000000000000000000000000000000"
|
||||
"expected": "000000000000ffff000000000000000000000000000000000000000000000000"
|
||||
},
|
||||
{
|
||||
"bits": "1b0404cb",
|
||||
|
@ -15,6 +15,10 @@
|
|||
{
|
||||
"bits": "1814dd04",
|
||||
"expected": "000000000000000014dd04000000000000000000000000000000000000000000"
|
||||
},
|
||||
{
|
||||
"bits": "cffca00",
|
||||
"expected": "00000000000000000000000000000000000000007fca00000000000000000000"
|
||||
}
|
||||
],
|
||||
"valid": [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue