Esteban Ordano
5c974a8ef2
Refactor transaction to match new API
* Refactor transaction into a different subfolder
* Added a lot of tests for sighash and transaction serialization (from
reddit's and Ryan X. Charles' `fullnode`)
* Drop "only" from sighash tests and consolidate logs
10 years ago
Esteban Ordano
3551742fee
Miscelaneus updates to docs and bufferreader/writer
10 years ago
Manuel Araoz
deee8c6887
refactor protocol->encoding
10 years ago
Manuel Araoz
56ca8a20c1
use strict to protocol
10 years ago
Manuel Araoz
cebd3aaa18
move files
10 years ago
Ryan X. Charles
9b8ce05b15
BufferWriter().toBuffer convenience method
It does the same thing as .concat(), but may be easier to remember, since the
rest of the library uses the ".toBuffer()" convention
10 years ago
Ryan X. Charles
4bb9105b2d
varInt -> varint
I don't like having to capitalize things unnecessarily
10 years ago
Ryan X. Charles
30c96721a0
varIntNum
10 years ago
Ryan X. Charles
cf4668f501
typo
10 years ago
Ryan X. Charles
0d9b54711e
BufferWriter.prototype.set
11 years ago
Ryan X. Charles
2131dbdfee
remove unnecessary tab
11 years ago
Ryan X. Charles
ddc9e2d2a4
handle varInts better
11 years ago
Ryan X. Charles
912bed1d9c
support BN in bufferwriter
So that the precision of writing a variable sized integer is sufficient.
11 years ago
Ryan X. Charles
9d600f4784
BufferWriter
11 years ago