Commit graph

2470 commits

Author SHA1 Message Date
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
Chris Stewart
6f7480a653 Update README.md 2016-04-29 20:40:01 -05:00
Chris Stewart
f51f51ec7e Update README.md 2016-04-29 20:39:31 -05:00
Chris Stewart
0ee9942d35 Rebasing script to master - logging is currently broken 2016-04-28 21:00:28 -05:00
Chris Stewart
d53b6e4d1a Moving script_tests.json to resource folder so it works with intellij 2016-04-28 19:59:23 -05:00
Chris Stewart
be74e9f7a3 Fixing some script errors that were incorrect in the code base 2016-04-28 18:52:30 -05:00
Chris Stewart
5d4a5cde9d uncommenting reading from script_tests.json 2016-04-28 18:49:25 -05:00
Chris Stewart
6f28c4ea92 Test case refactoring finished - all tests are passing now 2016-04-28 18:49:25 -05:00
Chris Stewart
8450d6ef18 Refactoring BytesToPushOntoStackImpl into it's factory object 2016-04-28 18:49:25 -05:00
Chris Stewart
49020bb236 Refactoring the implementation tyeps for ScriptNumber & ScriptConstant into their factories 2016-04-28 18:42:46 -05:00
Chris Stewart
462d9df05f merging files 2016-04-28 18:15:58 -05:00
Chris Stewart
9f88d3acaa Fixing a few compilation warnings 2016-04-28 17:37:26 -05:00
Chris Stewart
3d9b36cfbc Test cases all passing for script_valid.json & script_invalid.json 2016-04-28 17:37:26 -05:00
Chris Stewart
3c4354e7a4 fixing a few ScriptNumber bugs, now back to original error before merging Tom's pull requeest 2016-04-28 17:37:26 -05:00
Chris Stewart
ea5fef9237 Implementing ScriptVerifyLowS flag 2016-04-28 17:37:25 -05:00
Chris Stewart
300a045818 Enforcing High S value flag for script verify flags 2016-04-28 17:37:25 -05:00
Tom McCabe
fa1238a94f add .iml to gitignore 2016-04-28 15:58:12 -05:00
Tom McCabe
f73639d23f rename package to bitcoins 2016-04-28 15:54:09 -05:00
Tom McCabe
2efaf14f49 remove duplicates 2016-04-28 15:47:18 -05:00
Tom McCabe
f0f1fd1f78 merge script implementation with rpc-client 2016-04-28 15:43:55 -05:00
Tom McCabe
5299a8c584 remove dash from directory name 2016-04-28 09:59:18 -05:00
Tom McCabe
2ec0f323e8 tests for rpc client, moved rpc package from protocol to scalacoin parent package 2016-04-26 14:56:39 -05:00
Tom McCabe
1604a28b5c fix merge conflicts 2016-04-25 16:24:07 -05:00
Tom McCabe
93f5eee1b7 factories deprecated: bitwiseOp, controlOp, cryptoOp, reservedOp, spliceOp 2016-04-25 15:56:59 -05:00
Tom McCabe
19f552dd15 deprecate/improve some factories: arithmetic, scriptConstant, locktimeOperation, StackOperation 2016-04-25 15:21:48 -05:00
Chris Stewart
5de5573938 Refactoring return type of 'loop' inside of ScriptInterpreter 2016-04-25 14:08:34 -05:00
Tom McCabe
148675c546 deprecated BytesToPushOntoStackFactory 2016-04-25 14:02:38 -05:00
Chris Stewart
63716bf838 Removing 'ScriptFalse' & 'ScriptTrue' operations from bitcoin-s 2016-04-25 12:57:03 -05:00
Tom McCabe
1f95b6aa21 deprecated ScriptNumberFactory, fixed test cases 2016-04-25 12:38:50 -05:00
Chris Stewart
3f13879343 Fixing bug where digital signatures were not keeping their underlying byte representation 2016-04-25 10:39:34 -05:00
Chris Stewart
756d7740b3 Adding functionality to test pubkey encoding, fails the script with appropriate error if the pubkey is not encoded correctly 2016-04-25 09:56:03 -05:00
Chris Stewart
f5c7ed0345 Fixing some broken unit tests inside of CryptoInterpreterTest & ArithmeticInterpreterTest 2016-04-24 13:23:26 -05:00
Chris Stewart
915bade46d Fixing more MINIMALDATA bugs - now the failing script_invalid.json test cases are realted to pubkey encoding in OP_CHECKMULTISIG 2016-04-24 12:16:02 -05:00
Chris Stewart
9d264c2e62 Merge pull request #6 from TomMcCabe/rpc-merge
This pull request implements an RPC client for bitcoin. This gives us the functionality to make calls to a running instance of bitcoin-cli and marshal the returned string into a native Scala objects.
2016-04-23 21:12:29 -05:00
Chris Stewart
9c8458a45c Finishing implementation for MINIMALDATA - making sure that all scripts pass that should, and scripts that fail should fail with the MINIMALDATA flag 2016-04-23 20:21:34 -05:00
Tom McCabe
bf4a0915ae add .idea to .gitignore and rm uiDesigner.xml 2016-04-23 12:10:04 -05:00
Chris Stewart
84d9cf505f Enforcing p2sh scriptSigs can only contain push operations 2016-04-22 09:11:30 -05:00
Chris Stewart
f45823df76 Adding functionality to error if we have more than the maximum amount of public keys around or if we have more sigs than public keys in OP_CHECKMULTISIG 2016-04-22 08:08:38 -05:00
Chris Stewart
2c68f90236 Adding script op check for every script operation run during an OP_CHECKMULTISIG or OP_CHECKMULTISIGVERIFY op 2016-04-21 17:23:23 -05:00