Daniel Cousens
|
fe0ad81472
|
package: use safe-buffer
|
8 years ago |
Daniel Cousens
|
aeb0312d63
|
use safe-buffers throughout impl
|
8 years ago |
Daniel Cousens
|
ab1fc4c9a4
|
reduce bufferutils usage
|
8 years ago |
Daniel Cousens
|
f3d0dddc5a
|
block: add byteLength
|
8 years ago |
Daniel Cousens
|
1ce81a92cc
|
block: rm i temporary var
|
8 years ago |
Daniel Cousens
|
35bbe11055
|
block: change exponent offset to avoid subtraction
|
8 years ago |
Daniel Cousens
|
29316a2fbc
|
block: use writeUInt32BE for target calculation
|
8 years ago |
Daniel Cousens
|
14f9218389
|
package: bump bs58check, drop node 0.12
|
8 years ago |
Thomas Kerin
|
7b1167708a
|
Transaction and block versions are signed integers
|
8 years ago |
Daniel Cousens
|
4ee298c414
|
block: add type checking
|
8 years ago |
Daniel Cousens
|
dd4596a44a
|
block: use merkle-lib instead of inline calculation
|
8 years ago |
Daniel Cousens
|
fd40232147
|
package: remove buffer-compare/buffer-equals
|
8 years ago |
Daniel Cousens
|
d58e09a3a7
|
Block: add checkMerkleRoot
|
9 years ago |
Kirill Fomichev
|
bc9a95e0ae
|
Use buffer-reverse instead [].reverse.call
|
9 years ago |
Daniel Cousens
|
e4ba88e54f
|
block: rename verifyPow to checkProofOfWork
|
9 years ago |
Daniel Cousens
|
92b446f6a5
|
block: variable extraction
|
9 years ago |
Daniel Cousens
|
bac700f52c
|
block: use buffer, faster, verified
|
9 years ago |
Daniel Cousens
|
86b51b2d62
|
add Block.calculateTarget, use Buffer comparison rather than bigi
|
9 years ago |
Daniel Cousens
|
26ccb43047
|
block: add Block.prototype.verifyPow
|
9 years ago |
Daniel Cousens
|
0b4c67406f
|
use [].reverse over prototype
|
9 years ago |
Daniel Cousens
|
5c1c4589c0
|
remove use of buffer-reverse
|
9 years ago |
Daniel Cousens
|
731a31ecba
|
use buffer-reverse
|
9 years ago |
Daniel Cousens
|
8934de591c
|
use baddress/bcrypto/bscript for ambuigities
|
10 years ago |
Daniel Cousens
|
395c43ad74
|
block: remove use of assert
|
10 years ago |
Daniel Cousens
|
a8db7b2cbf
|
block: use Tx.byteLength to avoid double serialization
|
10 years ago |
Daniel Cousens
|
399803affa
|
use standardjs formatting
|
10 years ago |
Daniel Cousens
|
50dab3b6bf
|
block: use Transaction.fromBuffer
|
10 years ago |
Daniel Cousens
|
b6b5b568c3
|
block: re-order functions to project standard
|
10 years ago |
Daniel Cousens
|
9897fa2876
|
block: adds getUTCDate function
|
10 years ago |
Daniel Cousens
|
2214ccfdd8
|
bufferutils: add varIntBuffer
|
10 years ago |
Daniel Cousens
|
c0c47f076a
|
add block.js and tests
|
10 years ago |