Braydon Fuller
4a681f967e
Added comment with reasoning for number or array BN instantiation.
2015-07-01 15:30:21 -04:00
Braydon Fuller
08a80d74d5
more optimizations for readUInt64lebn
2015-07-01 15:05:26 -04:00
Braydon Fuller
e74a65fd0a
Combined slice calls for performance improvement.
2015-07-01 15:05:26 -04:00
Braydon Fuller
8e6b0147b9
Fixed issue with incompatible buffer.toJSON for node 0.10 and 0.12
2015-07-01 15:05:26 -04:00
Braydon Fuller
a3dee0695d
Improved performance of bufferReader.readUInt64LEBN()
2015-07-01 15:05:26 -04:00
Manuel Araoz
d556a0c33d
fix regressions
2015-04-29 18:55:42 -03:00
Manuel Araoz
722eddb894
add test that exposes bug
2015-04-29 15:31:46 -03:00
Trevin Hofmann
59a9e40f13
Properly capitalize BufferUtil everywhere
...
Right out of CONTRIBUTING.md
https://github.com/bitpay/bitcore/blob/master/CONTRIBUTING.md#g6---naming-utility-namespaces
2015-02-13 21:21:06 -06:00
Esteban Ordano
6b05f20397
Add the new operator when BN was used without it
2015-02-05 16:46:18 -03:00
Manuel Araoz
c664f211d2
add BufferReader.readVarLengthBuffer
2015-02-04 13:04:55 -03:00
Manuel Araoz
b9be679e09
add some checks
2015-02-04 11:49:09 -03:00
Manuel Araoz
6c518f1f45
refactoring interpreter
2014-12-19 18:28:52 -03:00
Esteban Ordano
5bed12ebe3
Remove calls to read() with no arguments
2014-12-15 19:37:19 -03:00
Esteban Ordano
de4d2884c7
Modify Transaction to use Multisig
...
* Allow `Script#add` to add a Script causing concatenation of opcodes
* Add `Script#equals` to compare scripts
* Add `Script#fromAddress`
* Drop `_payTo` methods
* Add `Script.buildP2SHMultisigIn`
Greatly simplifying the internal transaction object
2014-12-15 18:19:54 -03:00
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
2014-12-10 12:44:30 -03:00
Esteban Ordano
3551742fee
Miscelaneus updates to docs and bufferreader/writer
2014-12-09 17:31:20 -03:00
Manuel Araoz
deee8c6887
refactor protocol->encoding
2014-11-21 11:43:37 -03:00