20 Commits (374e43bed2838858befd329e9cab725d80154e08)

Author SHA1 Message Date
Esteban Ordano 6b05f20397 Add the new operator when BN was used without it 10 years ago
Braydon Fuller 453ad0f311 Fix jshint complaints. 10 years ago
Braydon Fuller 6aa0d14bb9 Removed magicnumber and size as properties of a block. 10 years ago
Braydon Fuller 38b8c211f3 Fix jshint complaints. 10 years ago
Esteban Ordano b416655222 block serialization: Add option skip magic numbers 10 years ago
Braydon Fuller b6ba5dbc5a Added test data for blocks from bitcoin core. 10 years ago
Esteban Ordano 2a084e641c Coverage for block and blockheader 10 years ago
Braydon Fuller d86e718743 Block: Updated documentation, and changed to use consistent naming. 10 years ago
Braydon Fuller 19a17017a9 Block: Added toObject method and changed toJSON to return a string 10 years ago
Braydon Fuller 1858766627 Standardized toJSON, fromJSON, toString and fromString interfaces 10 years ago
Esteban Ordano 1579eed9af Consistency with "id", "hash", and "_getHash" 10 years ago
Braydon Fuller 5d1da9802c Block: Added validation of proof of work, merkle tree and other interface changes. Closes #601 10 years ago
Manuel Araoz a45dee3a4b 'hide' encoding and crypto 10 years ago
Manuel Araoz c06c81e27b fixing tests 10 years ago
Ryan X. Charles e984736736 allow bufs in constructors 10 years ago
Ryan X. Charles cc3196085f add .hash() function for a block 10 years ago
Ryan X. Charles 40d17c5180 block id 10 years ago
Ryan X. Charles e11019a083 toJSON, fromJSON 10 years ago
Ryan X. Charles 6494ca5076 convenience: varint -> vi 10 years ago
Ryan X. Charles 8a52e6c316 Block 10 years ago