Commit graph

658 commits

Author SHA1 Message Date
Chris Stewart
73c92af290 Merge branch 'master' of https://github.com/bitcoin-s/bitcoin-s-core 2016-05-12 19:35:21 -05:00
Chris Stewart
ca2f1c3423 Finished implementing tx_valid.json from bitcoin core 2016-05-12 16:08:13 -05:00
Chris Stewart
bf26c5f9c6 Fixing bug in reading in non-symmetric sequence numbers for inputs 2016-05-12 15:55:58 -05:00
Chris Stewart
6574bbf76c Fixing bug in OP_CLTV for interpreting stack top as script number 2016-05-12 13:38:26 -05:00
Chris Stewart
8a7249a656 Fixing bug with removing signatures from p2sh redeem scripts 2016-05-12 12:49:49 -05:00
Chris Stewart
ef35eb9270 Through the OP_CODESEPARATOR tests now in tx_valid.json 2016-05-12 08:54:28 -05:00
Chris Stewart
ae117f9ffb Refactoring where OP_CODESEPARATORs are removed, this is now done inside of opCheckSig/opCheckMultiSig. Also passing the script that needs to be serialized to TransactionSignatureChecker now 2016-05-11 20:43:15 -05:00
Chris Stewart
7e80094ee1 Fixing bug in OP_PICK, not interpreting script numbers any more, just using the script number passed to us 2016-05-11 09:18:05 -05:00
Chris Stewart
721620c72c Changing OP_PUSHDATA indicators for how many bytes to push onto stack from ScriptNumbers to ScriptConstants 2016-05-10 12:45:16 -05:00
Chris Stewart
37368eb489 Fixing bug in how the EmptyTransactionOutput is serialized, this fixes issue with SIGHASH_SINGLE tx serialization for a signature 2016-05-09 12:32:40 -05:00
Chris Stewart
5fb0917385 Fixing test case to handle for test cases in bitcoin core whose outpoint indexes do not correlate to their input indexes 2016-05-09 08:40:10 -05:00
Chris Stewart
72b63b0123 Adding unit test to determine that RawTransactionInputParser serializes sequence numbers correctly 2016-05-09 08:04:58 -05:00
Chris Stewart
2918fc4eab Fixing merge conflicts 2016-05-08 21:27:18 -05:00
Chris Stewart
32d322c7c5 Fixing bug in how sequence numbers are serialized in transaction inputs. This solved issue with SIGHASH_ANYONECANPAY tx inside of tx_valid.json 2016-05-08 21:20:17 -05:00
Chris Stewart
8bf1397d93 Update README.md 2016-05-07 13:17:07 -05:00
Chris Stewart
1b31872a6c Fixing bug in bitcoinj signature serialization for serializing txs with SIGHASH_ANYONECANPAY 2016-05-07 12:20:31 -05:00
Tom McCabe
f2c00a3a3c add travis/coverall widgets to README, integrate coveralls 2016-05-07 11:29:38 -05:00
Tom McCabe
be9f998164 Merge branch 'master' of https://github.com/bitcoin-s/bitcoin-s-core 2016-05-07 11:27:34 -05:00
Chris Stewart
245815b4d4 Fixing bug with signature serialization - if we have more inputs than outputs & we are using SIGHASH_SINGLE the errorHash is signed 2016-05-06 17:02:36 -05:00
Chris Stewart
e867dbee53 Figured out bug of inputs are given to TransactionTest 2016-05-06 17:02:36 -05:00
Chris Stewart
6350273586 Fixing issue in OP_CHECKSIG with how Bitcoin Core handles FindAndDelete - we now delete the signature if it is about to be hashed & signed in the scriptPubKey 2016-05-06 17:02:36 -05:00
Chris Stewart
154a041cdb Fixing duplication of OP_CHECKSIGVERIFY, fixing comment 2016-05-06 17:02:36 -05:00
Chris Stewart
34a897b6ac Implementing OP_CHECKSIGVERIFY some how this was missed in script_tests.json 2016-05-06 17:02:36 -05:00
Chris Stewart
2309b8f349 Implementing parser for core's tx_valid/invalid.json test cases, refactoring TransactionImpl inside the factory object 2016-05-06 17:02:36 -05:00
Chris Stewart
dfc173c29d Fixing bug with signature serialization - if we have more inputs than outputs & we are using SIGHASH_SINGLE the errorHash is signed 2016-05-06 16:41:59 -05:00
Chris Stewart
d957cb7a93 Figured out bug of inputs are given to TransactionTest 2016-05-06 10:02:47 -05:00
Chris Stewart
5a70a7141a Merge pull request #2 from Christewart/op_csv
OP_CHECKSEQUENCEVERIFY implementation
2016-05-04 19:32:19 -05:00
Chris Stewart
32cde5f572 Fixing issue in OP_CHECKSIG with how Bitcoin Core handles FindAndDelete - we now delete the signature if it is about to be hashed & signed in the scriptPubKey 2016-05-04 16:02:27 -05:00
Chris Stewart
6509211a4e Fixing duplication of OP_CHECKSIGVERIFY, fixing comment 2016-05-04 10:08:18 -05:00
Chris Stewart
6820e525a3 Merge branch 'master' into tx_tests 2016-05-04 09:59:50 -05:00
Chris Stewart
3398d96254 Implementing OP_CHECKSIGVERIFY - this was missed in script_tests.json some how 2016-05-04 09:59:12 -05:00
Chris Stewart
0048f1bdcb Implementing OP_CHECKSIGVERIFY some how this was missed in script_tests.json 2016-05-04 09:54:55 -05:00
Chris Stewart
6bab4115be Implementing parser for core's tx_valid/invalid.json test cases, refactoring TransactionImpl inside the factory object 2016-05-04 09:28:40 -05:00
Chris Stewart
fb92377164 Update README.md 2016-05-04 07:53:43 -05:00
Chris Stewart
a82ed54d24 Refactoring sequence masks into TransactionConstants 2016-05-03 19:46:49 -05:00
Chris Stewart
42a7e1457d Adding checkSequence function found in bitcoin core - this completes the implementation for OP_CSV 2016-05-03 19:35:00 -05:00
Chris Stewart
87b0234e1d Implementing OP_CSV from pull request submitted to bitcoin core 2016-05-03 18:39:39 -05:00
Chris Stewart
28ebed9b0c Implementing OP_CSV from pull request submitted to bitcoin core 2016-05-03 18:34:42 -05:00
Chris Stewart
8b8b8dd34c Implementating base functionality for when OP_CSV should fail or be treated as a NOP 2016-05-02 21:10:29 -05:00
Thomas McCabe
b109b35e06 Merge pull request #1 from Christewart/master
Fixing bug in parsing test from script_tests.json
2016-05-02 15:19:05 -05:00
Tom McCabe
31e90c1b65 Merge branch 'Christewart-master' 2016-05-02 15:16:57 -05:00
Chris Stewart
83bce905a1 Fixing a couple bugs in setting ScriptUnknownError instead of ScriptErrorMinimalData 2016-05-02 14:16:04 -05:00
Chris Stewart
01b9aaf077 fixing a bug inside of ControlOperationsInterpreter with dealing with empty OP_ELSE branches 2016-05-02 13:55:26 -05:00
Chris Stewart
b5645ad6d3 Fixing bug in CoreTestCaseProtocol that was causing some script test cases not to run 2016-05-02 12:57:38 -05:00
Chris Stewart
a8f5490e2c Increasing test coverage on StackInterpreter and BitwiseInterpreter 2016-05-02 12:28:44 -05:00
Chris Stewart
7cd3b7cb0f Increasing test coverage inside of ArithmeticInterpreter 2016-05-02 11:01:36 -05:00
Thomas McCabe
26588c266b Update README.md
Fix typos
2016-05-02 09:15:34 -05:00
Chris Stewart
bbcaea8c67 Update README.md 2016-05-02 08:44:47 -05:00
Chris Stewart
a837ad3e12 Update README.md 2016-05-01 19:24:16 -05:00
Chris Stewart
1fb8b26b7f Update README.md 2016-04-30 11:22:39 -05:00