Daniel Cousens
|
e1479b6fa5
|
scripts: add error for >n signatures with multisig
|
2014-08-30 13:13:12 +10:00 |
|
Daniel Cousens
|
8d5ef2dd06
|
TxBuilder: limit signatures depending on scriptType
|
2014-08-30 13:13:12 +10:00 |
|
Daniel Cousens
|
e5618bb8bd
|
TxBuilder: add test for missing redeemScript if P2SH
|
2014-08-30 12:52:05 +10:00 |
|
Daniel Cousens
|
b3438c5ef2
|
Transaction: throw if sequence is not a number
|
2014-08-30 12:51:29 +10:00 |
|
Daniel Cousens
|
aa80bde815
|
TxBuilder: avoid unnecessary recalculation of prevOutScript data
|
2014-08-30 12:47:00 +10:00 |
|
Daniel Cousens
|
e2357c09ce
|
TxBuilder: fix invalid txin.index usage for non-zero vin inputs
|
2014-08-30 12:10:02 +10:00 |
|
Daniel Cousens
|
1c744cfa5a
|
TxBuilder: add failing test for non-zero vin inputs
|
2014-08-30 12:09:31 +10:00 |
|
Daniel Cousens
|
6e1517482b
|
tests: avoid use of deprecated APIs
|
2014-08-27 12:37:13 +10:00 |
|
Daniel Cousens
|
b727a65ea0
|
Wallet: refactor to use Array unspents solely, deprecating unspentsMap
|
2014-08-27 12:37:13 +10:00 |
|
Daniel Cousens
|
06f13db8d7
|
Wallet: rename outputs to unspentsMap
|
2014-08-27 12:37:13 +10:00 |
|
Daniel Cousens
|
d24fdef585
|
Wallet: consistent variable naming
|
2014-08-27 12:37:13 +10:00 |
|
Daniel Cousens
|
02e71e430c
|
Wallet: revert 2f00c9a
|
2014-08-27 12:37:13 +10:00 |
|
Daniel Cousens
|
71d4c78b88
|
bufferutils: add Buffer reverse
|
2014-08-27 12:37:11 +10:00 |
|
Daniel Cousens
|
33955a7fb5
|
Wallet: store txHash, vout separately instead of "from: txid:vout"
|
2014-08-26 18:37:44 +10:00 |
|
Daniel Cousens
|
735feab7ba
|
Wallet: remove txId:index storage for spent outputs
|
2014-08-26 18:37:43 +10:00 |
|
Daniel Cousens
|
0f9674e65f
|
tests: code formatting
|
2014-08-26 18:37:43 +10:00 |
|
Wei Lu
|
43d135c4b3
|
Merge pull request #266 from dcousens/mesb64
Message: allow base64 strings as input
|
2014-08-21 19:35:09 +08:00 |
|
Daniel Cousens
|
b66e53d1e7
|
Transaction: add comment to explain -1 on add*
|
2014-08-20 10:41:23 +10:00 |
|
Daniel Cousens
|
82d8e20793
|
tests: avoid unnecessary .ok
|
2014-08-20 09:18:28 +10:00 |
|
Daniel Cousens
|
4b52c42c91
|
Message: allow base64 strings as input
|
2014-08-20 09:14:04 +10:00 |
|
Wei Lu
|
70be0d2117
|
Merge pull request #265 from hobofife/master
Change Browserify results to 'bitcoin', not 'Bitcoin'
|
2014-08-19 13:31:45 +08:00 |
|
hobofife
|
7ef963c7f9
|
Change Browserify results to 'bitcoin', not 'Bitcoin'
|
2014-08-19 00:29:42 -05:00 |
|
Wei Lu
|
106e00e6f1
|
Merge pull request #244 from dcousens/txbuilder
Transaction Builder
|
2014-08-18 18:08:34 +08:00 |
|
Daniel Cousens
|
ec3ed87654
|
Merge pull request #259 from dcousens/license
Updated License
|
2014-08-18 12:56:11 +10:00 |
|
Daniel Cousens
|
0782e8e837
|
tests: fixes test description typos
|
2014-08-18 09:31:24 +10:00 |
|
Daniel Cousens
|
22f8c8aa4a
|
TxBuilder: re-order functions to project standard
|
2014-08-18 08:59:26 +10:00 |
|
Daniel Cousens
|
4f88980dfb
|
tests: add P2SH multisig example case
|
2014-08-18 08:54:46 +10:00 |
|
Daniel Cousens
|
f9fed3c815
|
TxBuilder: adds fromTransaction impl. and basic tests
|
2014-08-18 08:54:46 +10:00 |
|
Daniel Cousens
|
7f62069d82
|
TxBuilder: add sequence number passthrough
|
2014-08-18 08:54:46 +10:00 |
|
Daniel Cousens
|
f3199b6fce
|
tests: integration test to use TxBuilder
|
2014-08-18 08:54:46 +10:00 |
|
Daniel Cousens
|
418a56cbdc
|
index: add TransactionBuilder
|
2014-08-18 08:54:46 +10:00 |
|
Daniel Cousens
|
1e3e003120
|
TxBuilder: remove unnecessary assert
|
2014-08-18 08:54:46 +10:00 |
|
Daniel Cousens
|
14211b5f3e
|
TxBuilder: sign after error checking
|
2014-08-18 08:54:46 +10:00 |
|
Daniel Cousens
|
31ea956e8e
|
TxBuilder: add invalid nulldata case
|
2014-08-18 08:54:45 +10:00 |
|
Daniel Cousens
|
d0ac9b405a
|
tests: add TxBuilder pubKey test fixture
|
2014-08-18 08:54:45 +10:00 |
|
Daniel Cousens
|
26b028adcf
|
Wallet: use TxBuilder instead
|
2014-08-18 08:54:45 +10:00 |
|
Daniel Cousens
|
4e3a6c9557
|
TxBuilder: use build/buildIncomplete over boolean
|
2014-08-18 08:54:45 +10:00 |
|
Daniel Cousens
|
377b815417
|
TxBuilder: transform all signatures once
|
2014-08-18 08:54:45 +10:00 |
|
Daniel Cousens
|
36b225a3df
|
TxBuilder: use data fixtures for invalid tests
|
2014-08-18 08:54:45 +10:00 |
|
Daniel Cousens
|
bcbcd58964
|
TxBuilder: Initial commit and tests
|
2014-08-18 08:54:45 +10:00 |
|
Daniel Cousens
|
15dc92049c
|
LICENSE: Updated date and copyright notice
|
2014-08-16 17:39:50 +10:00 |
|
Daniel Cousens
|
884fd542fe
|
Transaction: deprecate Tx signing methods
|
2014-08-16 17:36:06 +10:00 |
|
Daniel Cousens
|
897bbf4eb4
|
Wallet: assign indexOf in the same step
|
2014-08-16 17:26:27 +10:00 |
|
Daniel Cousens
|
9620b68fe2
|
Wallet: use __processTx over a free function
The use of bind in this case wasn't idiomatic.
|
2014-08-16 17:26:27 +10:00 |
|
Daniel Cousens
|
300facf7aa
|
Wallet: use === when comparing with undefined
|
2014-08-16 17:26:27 +10:00 |
|
Daniel Cousens
|
4bb7f5b56d
|
Wallet: use indexOf explicitly over include*
|
2014-08-16 17:26:27 +10:00 |
|
Wei Lu
|
2386253ea0
|
Merge pull request #258 from dcousens/wallclean
Wallet clean
|
2014-08-16 15:14:03 +08:00 |
|
Daniel Cousens
|
1ca69969bd
|
Merge pull request #2 from weilu/dcousens-wallclean
Clean up Wallet constructor function
|
2014-08-16 16:59:30 +10:00 |
|
Wei Lu
|
e55676cf8e
|
Wallet: remove unncessary comments
|
2014-08-16 14:27:12 +08:00 |
|
Wei Lu
|
00d58604a4
|
Wallet: move getPrivateKeyForAddress to prototype
also, move the assert to the end to simplify the logic
|
2014-08-16 14:24:24 +08:00 |
|