Braydon Fuller
5d1da9802c
Block: Added validation of proof of work, merkle tree and other interface changes. Closes #601
2014-12-08 14:51:43 -05:00
Manuel Araoz
4508fb6765
fix references to encoding
2014-11-21 12:54:56 -03:00
Manuel Araoz
ca9b8d8f7b
use strict to protocol
2014-11-20 12:52:32 -03:00
Ryan X. Charles
e984736736
allow bufs in constructors
...
For Transaction, Block and Blockheader. This is a convenience so if you happen
to have the buffer for one of these, you can make a new one like this:
Transaction(txbuf);
Rather than having to do this:
Transaction().fromBuffer(txbuf);
2014-09-22 13:07:39 -07:00
Ryan X. Charles
e11019a083
toJSON, fromJSON
...
Every object should have toJSON and fromJSON methods so you can have a reliable
way to store and retrieve objects.
2014-09-18 17:52:02 -07:00
Ryan X. Charles
0212e4bd4c
replace .buffer with .read
2014-09-17 15:49:45 -07:00
Ryan X. Charles
0d180810de
Blockheader
2014-09-16 17:28:00 -07:00