Commit graph

2470 commits

Author SHA1 Message Date
Chris Stewart
88c53ac163 Fixing timeout bug in BaseECKey.sign 2016-05-30 15:56:26 -05:00
Chris Stewart
24f4a0fd30 Fixing various test cases 2016-05-30 15:56:26 -05:00
Chris Stewart
190c1f153e Implementing ECFactory.digitalSignature for creating digital signatures from r,s components 2016-05-30 15:46:08 -05:00
Chris Stewart
ddecb2c05f Fixing compilation issues, not all tests are passing yet 2016-05-30 15:43:34 -05:00
Chris Stewart
5f1ea05d63 Partially done removing bitcoinj from src folder 2016-05-30 15:43:03 -05:00
Chris Stewart
cd26c70631 Addign merkleRoot function to Blocks 2016-05-27 18:06:46 -05:00
Chris Stewart
d38764745d Merkle root computation is implemented 2016-05-27 10:30:13 -05:00
Chris Stewart
ba8e5bd0ae Merge branch 'master' into blockchain_package_and_base_traits 2016-05-26 15:58:20 -05:00
Chris Stewart
e1a3b2dc9f Fixed merge conflicts 2016-05-26 15:55:17 -05:00
Thomas McCabe
83ca998961 Merge pull request #10 from Christewart/remove_asm_arg_script_types
Remove asm arg script types, refactor script types into their companion objects
2016-05-26 15:37:31 -05:00
Chris Stewart
1a108c8cc3 Successfully computing merkle root for trees with n nodes where n is a power of 2 2016-05-26 15:32:36 -05:00
Chris Stewart
4ecae82a6e Generating correct txid for the genesis transaction 2016-05-26 12:11:00 -05:00
Chris Stewart
fa25c33fec Merging in master 2016-05-26 09:51:17 -05:00
Chris Stewart
e5b45cf3ff Creating Merkle trait, successfully creating script signature found in the genesis block 2016-05-26 09:51:17 -05:00
Chris Stewart
59c1968271 Moving CompactUIntImpl into factory, adding NetworkElement trait to Block/BlockHeader to allow for easy access to hex/byte representations 2016-05-26 09:51:17 -05:00
Chris Stewart
ec5e2b85c3 Adding ChainParams & the respective ChainParams object for each network 2016-05-26 09:51:17 -05:00
Chris Stewart
4e34bd050f Adding parent trait for individual blockchains called ChainParams 2016-05-26 09:48:56 -05:00
Chris Stewart
7dc449abca Adding RawBlockSerializer that is currently unimplemented 2016-05-26 09:48:56 -05:00
Chris Stewart
bbf8005916 Adding an unimplmeneted serializer for BlockHeaders 2016-05-26 09:48:56 -05:00
Chris Stewart
d959d5cf1a Adding trait to represent blocks in our blockchain 2016-05-26 09:48:55 -05:00
Chris Stewart
fc46ee85c5 Adding blockchain package, adding trait to represent block headers 2016-05-26 09:48:55 -05:00
Chris Stewart
27895b01ff Changing asm from function to lazy val in both ScriptSignature & ScriptPubKey 2016-05-25 15:20:43 -05:00
Chris Stewart
77c46dd8b1 Refactoring ScriptPubKey's into the ScriptPubKey companion object and removing the 'asm' parameter from the case classes 2016-05-25 14:43:46 -05:00
Chris Stewart
05755fa799 Finished refactoring ScriptSignatures - script signature case classes no longer take an 'asm' parameter 2016-05-25 14:30:27 -05:00
Chris Stewart
48b104670d Fixing bug in ScriptInterpreter - bitcoin core requires that p2sh scriptSignatures be push only 2016-05-25 14:01:21 -05:00
Chris Stewart
7f36f83364 Update README.md 2016-05-25 07:53:33 -05:00
Thomas McCabe
9282bd1156 Merge pull request #9 from Christewart/create_hash_types
Create hash types
2016-05-24 13:29:06 -05:00
Thomas McCabe
112607199c Merge pull request #8 from Christewart/master
Renaming TransactionElement to NetworkElement
2016-05-24 13:23:19 -05:00
Chris Stewart
a46600418a Adding HashDigest types, refactoring all Crypto hash functions to return their corresponding HashDigest type 2016-05-24 12:30:44 -05:00
Chris Stewart
133877d9f2 Moving CompactUIntImpl into factory, adding NetworkElement trait to Block/BlockHeader to allow for easy access to hex/byte representations 2016-05-24 09:53:39 -05:00
Chris Stewart
43bdbeb2e3 Merge branch 'master' into blockchain_package_and_base_traits 2016-05-24 09:29:58 -05:00
Chris Stewart
8305cc651c Renaming TransactionElement to NetworkElement 2016-05-24 09:22:26 -05:00
Chris Stewart
a3b8278045 Adding ChainParams & the respective ChainParams object for each network 2016-05-23 15:32:10 -05:00
Chris Stewart
db50658823 Adding parent trait for individual blockchains called ChainParams 2016-05-22 12:32:52 -05:00
Chris Stewart
a2cf7d7b81 Merge branch 'master' into blockchain_package_and_base_traits 2016-05-22 11:00:47 -05:00
Chris Stewart
b0b493e95f Merge branch 'master' of https://github.com/bitcoin-s/bitcoin-s-core 2016-05-22 10:59:00 -05:00
Chris Stewart
d82ced8a83 Adding port numbers for NetworkParameters 2016-05-22 10:57:53 -05:00
Thomas McCabe
a67c5f9164 Merge pull request #7 from Christewart/master
Removing OP_NOP3 since it has been repurposed for OP_CHECKSEQUENCEVERIFY
2016-05-21 12:02:14 -05:00
Chris Stewart
5ca1c18076 Update README.md 2016-05-21 08:23:12 -05:00
Chris Stewart
59ed11dc8a Removing OP_NOP3 since it has been repurposed for OP_CHECKSEQUENCEVERIFY 2016-05-20 11:43:11 -05:00
Chris Stewart
47ae19ad4b Adding RawBlockSerializer that is currently unimplemented 2016-05-20 08:57:26 -05:00
Chris Stewart
b45c2593ab Adding an unimplmeneted serializer for BlockHeaders 2016-05-20 08:02:23 -05:00
Chris Stewart
5c3c7a9512 Adding trait to represent blocks in our blockchain 2016-05-19 15:28:37 -05:00
Chris Stewart
f35975c459 Adding blockchain package, adding trait to represent block headers 2016-05-19 15:19:50 -05:00
Thomas McCabe
940ec1f4ad Merge pull request #6 from Christewart/rename_marshallers_to_serializers
Rename marshallers to serializers
2016-05-19 14:36:43 -05:00
Chris Stewart
43029bf9fe Removing objects/functions that are being refactored into the rpc-client package 2016-05-19 13:22:38 -05:00
Chris Stewart
a14160a67a Changing the name of 'marshallers' package to 'serializers', renaming a few classes 2016-05-19 11:22:38 -05:00
Thomas McCabe
0644302ff8 Merge pull request #5 from Christewart/refactor_to_core_package
Refactoring project into 'core' package
2016-05-19 10:34:01 -05:00
Chris Stewart
112fc125cd Refactoring project into 'core' package 2016-05-19 10:04:36 -05:00
Thomas McCabe
1b2abfee26 Merge pull request #4 from Christewart/tx_tests_invalid
Tx tests invalid
2016-05-17 09:06:53 -05:00