Commit Graph

158 Commits

Author SHA1 Message Date
Chris Stewart
bf0caf4371 Refactoring script parser into marshallers package 2016-01-11 15:32:03 -06:00
Chris Stewart
a6e7f24871 Adding byte serialization for TransactionOutpoints, starting to add RawTransactionOutput serialization 2016-01-11 15:19:28 -06:00
Chris Stewart
84982d8b95 Adding ability to serialize and unserialize raw outpoints 2016-01-11 14:39:51 -06:00
Chris Stewart
17770f6495 Adding more unit tests for parsing p2sh inputs and outputs from byte arrays 2016-01-11 09:56:27 -06:00
Chris Stewart
fdc502acba Successfully parsing a byte array into an asm output script 2016-01-09 18:20:50 -06:00
Chris Stewart
1242ad83f3 Adding constants 1-75 as ScriptNumbers - the represent the amount of bytes to push onto the stack 2016-01-09 16:05:40 -06:00
Chris Stewart
cb2bd86700 Adding fromOpCode to match byte with its op code 2016-01-09 12:58:20 -06:00
Chris Stewart
3f48efd664 Parsing scripts when they are marshalled from json 2016-01-09 11:10:29 -06:00
Chris Stewart
a55b7b64ce Parsing scriptSigs and scriptPubKeys for both p2sh and p2pkh 2016-01-08 15:02:12 -06:00
Chris Stewart
731648ece1 Major refactor of types for ScriptOperations, overarching type is now ScriptToken 2016-01-08 14:40:27 -06:00
Chris Stewart
b70bf70dd2 Adding companion objects for script operation factories 2016-01-08 10:44:27 -06:00
Chris Stewart
60ca80e0e8 Adding arithmetic operations factory 2016-01-08 10:22:38 -06:00
Chris Stewart
c018e24087 Adding Bitwise operations factory 2016-01-08 10:16:22 -06:00
Chris Stewart
928b87e7e1 Adding control operations factory 2016-01-08 10:12:32 -06:00
Chris Stewart
0130088a2d Adding crypto operations factory 2016-01-08 10:04:51 -06:00
Chris Stewart
6a824e6ff9 Adding locktime factory 2016-01-08 10:00:36 -06:00
Chris Stewart
e6e8f356a6 Adding StackOperationFactory 2016-01-08 09:56:20 -06:00
Chris Stewart
7159df8e6b fixing compliation issue, adding unit tests for parsing 2016-01-07 22:07:03 -06:00
Chris Stewart
327844fa3b Adding signature for parse function 2016-01-07 22:02:29 -06:00
Chris Stewart
3df808a82b Implementing the OP_EQUALVERIFY operator 2016-01-06 19:44:57 -06:00
Chris Stewart
17cfb5b6c2 Implmenting OP_VERIFY operation 2016-01-06 19:26:37 -06:00
Chris Stewart
9cbb809650 Adding equality functionality inside of Bitwise Interpreter 2016-01-06 19:13:57 -06:00
Chris Stewart
d3e8f3ee0b Defining bitwise operations 2016-01-06 15:30:42 -06:00
Chris Stewart
a062ac8e14 Implementing OP_HASH160, OP_DUP and adding in some util functions 2016-01-06 15:01:42 -06:00
Chris Stewart
190992ee3b Adding locktime operations 2016-01-06 13:19:44 -06:00
Chris Stewart
349ac1b1aa Adding CryptoOperations 2016-01-06 13:14:16 -06:00
Chris Stewart
4d63c44e13 Adding Arithmetic Operations 2016-01-06 12:04:30 -06:00
Chris Stewart
5137d193ab adding stack operations 2016-01-06 11:42:14 -06:00
Chris Stewart
a0f4bb4365 Adding control flow operations 2016-01-06 10:56:33 -06:00
Chris Stewart
d23aa244f9 Adding constants for the script language 2016-01-06 10:10:46 -06:00
Chris Stewart
77471ed783 Adding plugins.sbt file 2016-01-04 15:10:19 -06:00
Chris Stewart
c98b3475fe Adding ScriptPubKey marshaller 2015-12-27 21:00:59 -06:00
Chris Stewart
98acc89e03 Adding marshaller for TransactionOutPoint 2015-12-27 19:43:13 -06:00
Chris Stewart
ca441e9aae Fixing signature on TransactionInput and adding ScriptPubKey case class 2015-12-27 16:29:15 -06:00
Chris Stewart
44d89b25d2 Adding ScriptSignature, ScriptPubKey 2015-12-26 22:01:35 -06:00
Chris Stewart
c7aaf7fac1 Adding Transaction case class, removing counter fields from Transaction 2015-12-26 21:28:20 -06:00
Chris Stewart
03d4e2f5e1 Adding case classes for implmentations of Inputs, Outputs and Outpoints 2015-12-26 21:11:17 -06:00
Chris Stewart
2ac92f5476 Factoring out transaction components into their own scala files 2015-12-26 21:03:43 -06:00
Chris Stewart
7b748dfbca Fixing import issue on Transactions 2015-12-26 20:52:45 -06:00
Chris Stewart
2142e439dc refactoring transactions into their own package and renaming them 2015-12-26 20:50:36 -06:00
Chris Stewart
c82d565439 Forgot to add regtest byte comparison for testing if p2sh address is valid 2015-12-23 16:55:58 -06:00
Chris Stewart
f29d7e6f42 Adding magic bytes to network parameters, doing real validation for bitcoin addresses now 2015-12-23 16:49:04 -06:00
Chris Stewart
7bf2d3c6e2 Adding addition, subtraction and multiplication operations to CurrencyUnits 2015-12-23 11:17:04 -06:00
Chris Stewart
0be96f4188 Adding infix operators to compare currency units 2015-12-21 17:57:39 -06:00
Chris Stewart
daa4ad6bff Adding build files 2015-12-21 17:16:30 -06:00
Chris Stewart
9d65ede644 Changing BitcoinCurrencyUnit to CurrencyUnit 2015-12-21 17:14:50 -06:00
Chris Stewart
1a51c16010 Adding currency units 2015-12-21 17:03:01 -06:00
Chris Stewart
67d1fe8674 Fixing unit tests for BitcoinAddressTest 2015-12-20 16:05:59 -06:00
Chris Stewart
8d57074035 json marshallers for bitcoin addresses 2015-12-20 16:00:00 -06:00
Chris Stewart
7b6039bed2 fixing license merge conflict 2015-12-03 13:49:37 -06:00