Esteban Ordano
|
32f8360fd5
|
Update Networks, PrivateKey and Script
|
10 years ago |
Esteban Ordano
|
63f1d307fa
|
Reviewing docs
|
10 years ago |
Manuel Aráoz
|
528201160a
|
Merge pull request #722 from eordano/feature/multisig
P2SH Multisig transaction creation
|
10 years ago |
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
|
10 years ago |
Esteban Ordano
|
1535805f1c
|
Add PublicKeyHashInput class
|
10 years ago |
Esteban Ordano
|
af43228daf
|
Add `PublicKeyHashInput` and `ScriptHashInput`.
Remove `_outpoints`, `_utxos` from Transaction, as that info
can be efficiently retrieved from the inputs
|
10 years ago |
Manuel Aráoz
|
264a239e5a
|
Merge pull request #737 from braydonf/bug/to-object
Transaction: `toJSON` / `fromJSON` tests
|
10 years ago |
Manuel Aráoz
|
fb4f5b7e32
|
Merge pull request #747 from braydonf/tests/tx-bitcoind
Add tx_valid and tx_invalid bitcoind tests
|
10 years ago |
Braydon Fuller
|
b0555108a8
|
Add tx_valid and tx_invalid bitcoind tests
|
10 years ago |
Manuel Aráoz
|
a2b1554a44
|
Merge pull request #738 from braydonf/tests/base58-keys
Tests: Added bitcoind base58 key json data and tests
|
10 years ago |
Braydon Fuller
|
96c7812ed1
|
PrivateKey: Lodash to check if undefined, and made tests not random (T2)
|
10 years ago |
Esteban Ordano
|
c06a3f1fe9
|
Merge pull request #743 from braydonf/feature/inspect-g5
Added inspect prototype G5
|
10 years ago |
Braydon Fuller
|
b13c4fb0c9
|
Added inspect prototype G5
|
10 years ago |
Braydon Fuller
|
920f25b58e
|
Tests: Added bitcoind base58 key data and tests
|
10 years ago |
Braydon Fuller
|
6f6d568661
|
Transaction: toNumber/fromNumber to set satoshis
|
10 years ago |
Braydon Fuller
|
ad4bc9324f
|
Transaction: Use Script toString for transaction JSON output
|
10 years ago |
Braydon Fuller
|
b544b0594d
|
Added test to check that Transaction fromJSON could initialize from toJSON, and fixed a bug.
|
10 years ago |
Braydon Fuller
|
f43c2f9aa3
|
Fixed bug, toObject should use other object's toObject
|
10 years ago |
Manuel Aráoz
|
5477a2d857
|
Merge pull request #736 from braydonf/feature/to-object
Added `toObject` methods to return an `object` and modified `toJSON` to return a `string`. Closes #732
|
10 years ago |
Braydon Fuller
|
dee30c749a
|
Unit: Fixed bug, stringified toJSON output
|
10 years ago |
Braydon Fuller
|
f6c7ec5d22
|
Contributing: Added G7 "Standard Methods"
|
10 years ago |
Braydon Fuller
|
e4cf84519d
|
BN: Remove toJSON and fromJSON methods from BN, as they are equivalent to toString and fromString
|
10 years ago |
Braydon Fuller
|
002eb3dcf5
|
Transaction: Added toObject method and changed toJSON to return a string
|
10 years ago |
Braydon Fuller
|
cddd55afc4
|
URI/Unit: Added toObject method and changed toJSON to return a string
|
10 years ago |
Braydon Fuller
|
c0bbf96dc1
|
Keys: Added toObject method and changed toJSON to return a string
|
10 years ago |
Braydon Fuller
|
1c0caac8c3
|
HDKeys: Added toObject method and changed toJSON to return a string
|
10 years ago |
Braydon Fuller
|
19a17017a9
|
Block: Added toObject method and changed toJSON to return a string
|
10 years ago |
Braydon Fuller
|
354c03987a
|
Address: Added toObject method and changed toJSON to return a string
|
10 years ago |
Braydon Fuller
|
feb3aa3150
|
Merge pull request #735 from braydonf/bug/js-util-naming
Fixed issue with js util naming
|
10 years ago |
Braydon Fuller
|
0e7f5e89f2
|
Fixed issue with js util naming
|
10 years ago |
Manuel Aráoz
|
04fba31293
|
Merge pull request #721 from braydonf/standardize-json
Standardize toJSON and related
|
10 years ago |
Manuel Aráoz
|
78d3dcecf2
|
Merge pull request #730 from braydonf/feature/opcode-script-standard-interface
Opcode: Added toBuffer and fromBuffer methods
|
10 years ago |
Braydon Fuller
|
46a9a6d83c
|
Opcode: Added toBuffer and fromBuffer methods
|
10 years ago |
Yemel Jardi
|
15ba6e2ba1
|
Merge pull request #728 from braydonf/feature/keys-standardized-interface
Keys: Modified and added standardized toJSON/fromJSON prototypes
|
10 years ago |
Braydon Fuller
|
4ddf3d117c
|
Keys: Modified and added standardized toJSON/fromJSON prototypes
|
10 years ago |
Braydon Fuller
|
93502d1523
|
Fix naming
|
10 years ago |
Braydon Fuller
|
683ac93c0b
|
Fix utility naming issue
|
10 years ago |
Braydon Fuller
|
162438d111
|
Block: Change utility naming
|
10 years ago |
Braydon Fuller
|
3276236cce
|
Consistent names for utilities
|
10 years ago |
Braydon Fuller
|
94cc10b1a3
|
Changed *Json to *JSON and returned an object so that methods can be called from other toJSON methods without the double-stringification issue.
|
10 years ago |
Manuel Aráoz
|
f108cc7ea5
|
Merge pull request #726 from braydonf/feature/standardized-interface
Standardized toJSON, fromJSON, toString and fromString interfaces
|
10 years ago |
Braydon Fuller
|
7aaee6466f
|
Fix spacing formatting issues
|
10 years ago |
Braydon Fuller
|
32ac9bb63e
|
Change utility naming
|
10 years ago |
Braydon Fuller
|
1858766627
|
Standardized toJSON, fromJSON, toString and fromString interfaces
|
10 years ago |
Manuel Aráoz
|
d6caab69ca
|
Merge pull request #720 from braydonf/feature/immutable-opcode
Opcode: Modify `from` methods to be static, and an instance be immutable.
|
10 years ago |
Esteban Ordano
|
40932f39ce
|
Merge pull request #717 from braydonf/feature/hdkeys-immutable
HDKeys: Modified to have immutable properties
|
10 years ago |
Braydon Fuller
|
77be24a52f
|
Bump
|
10 years ago |
Braydon Fuller
|
6bb9990a2b
|
Opcode: JS-Beautify
|
10 years ago |
Braydon Fuller
|
1b2e9728ce
|
Opcode: Modify from methods to be static, and an instance be immutable.
|
10 years ago |
Braydon Fuller
|
c73c56f938
|
HDKeys: Modified to have immutable properties
|
10 years ago |