Commit Graph

1208 Commits

Author SHA1 Message Date
nkohen
33f57f4a3e Added getblockchaininfo and createrawtransaction functionality with tests (also fixed bug where bip125-replaceable needed to be read into field called bip125_replaceable) 2018-06-25 09:56:37 -05:00
nkohen
1df9efe464 Created separate Payment objects for listTransactions and listSinceBlock to avoid Scala's limit of 22 parameters 2018-06-25 09:56:37 -05:00
Nadav Kohen
e392c5c9b6 Added functionality for many rpc calls (still no tests for them though) 2018-06-25 09:56:37 -05:00
Nadav Kohen
9238f46d31 Added functionality for getrawmempool, getrawtransaction, gettransaction, importaddress, importprunedfunds, listaddressgroupings and listlockunspent 2018-06-25 09:56:37 -05:00
Nadav Kohen
344c6fc47b Added fundrawtransaction functionality 2018-06-25 09:56:37 -05:00
Nadav Kohen
c24d61c41a Cleanup and type fixes 2018-06-25 09:56:37 -05:00
Nadav Kohen
260f554ced Added setban, getblock and decodescript functionality. Changed all Arrays to Vectors 2018-06-25 09:56:37 -05:00
Nadav Kohen
8d56ebdcda Cleanup: Fixed some types, bitcoindCall now takes a List instead of a JsArray(List(_)) 2018-06-25 09:56:37 -05:00
Nadav Kohen
11b469e36f Cleanup: Moved all case classes out of RpcClient and made implicit ActorMaterializer and ExecutionContext be given when instantiating the client instead of with every call. 2018-06-25 09:56:37 -05:00
Nadav Kohen
9db6436573 Cleanup 2018-06-25 09:56:37 -05:00
Nadav Kohen
6589bf495f Added (untested) implementations of a ton of rpc calls 2018-06-25 09:56:37 -05:00
Nadav Kohen
7f0d82c307 Cleanup of RpcClient, now every call is a single line of code! 2018-06-25 09:56:37 -05:00
Nadav Kohen
192cad120e Added generate and getblockheader functionality 2018-06-25 09:56:37 -05:00
Nadav Kohen
680d3d211a Added getmininginfo, getchaintips and getnetworkinfo functionality 2018-06-25 09:56:37 -05:00
Nadav Kohen
1675051c35 Created rpc project and added getNewAddress endpoint 2018-06-25 09:56:37 -05:00
Chris Stewart
48e45a8b7f Merge pull request #173 from nkohen/bitcoinfee
BitcoinFeeUnit extension fixes
2018-06-06 16:59:21 -04:00
nkohen
0a8c52562e Made BitcoinFeeUnit extend FeeUnit and SatoshisPerByte, SatoshisPerVirutalByte extend BitcoinFeeUnit 2018-06-06 13:45:26 -05:00
Chris Stewart
b94af42dfa Merge pull request #170 from Christewart/sighash_byte_bug_fix
refactor hash type to derive the byte from the underlying int32, refa…
2018-06-02 16:06:15 -04:00
Chris Stewart
2cd44c0f07 refactor hash type to derive the byte from the underlying int32, refactor some other things to make hash type nicer 2018-06-01 13:04:41 -05:00
Chris Stewart
603ed8a043 Merge pull request #169 from nkohen/coinBaseInput
Added sequence parameter to coinbase and removed fruitless type test
2018-05-31 16:42:09 -04:00
Nadav Kohen
6368642d09 Added sequence parameter to coinbase and removed fruitless type test 2018-05-31 10:57:36 -05:00
Chris Stewart
7e951e8ca9 Merge pull request #167 from TannerR1776/master
Move maxPublicKeysPerMultiSig to Consensus
2018-05-31 11:44:46 -04:00
Tanner Rogers
bfd4cb72f5 Move maxPublicKeysPerMultiSig to Consensus 2018-05-31 06:22:30 -05:00
Chris Stewart
bd7f66dc7b Merge pull request #165 from Christewart/script_parse_bug
overflow bug fix didn't quite account for every overflow possibility
2018-05-29 13:36:09 -04:00
Chris Stewart
876bb69e6a overflow bug fix didn't quite account for every overflow possibility 2018-05-29 11:47:34 -05:00
Chris Stewart
6cb62c1cc5 Merge pull request #164 from Christewart/script_parse_bug
Fix overflow bug with parsing script with OP_PUSHDATA4
2018-05-29 11:23:11 -04:00
Chris Stewart
9cc2bb1695 Fix overflow bug with parsing script with OP_PUSHDATA4 2018-05-28 19:47:56 -05:00
Chris Stewart
13c2a66ffe Merge pull request #163 from nkohen/addNetworkElement
Made HashDigest extend NetworkElement
2018-05-25 11:34:38 -04:00
Nadav Kohen
f6cdd3b312 Made HashDigest extend NetworkElement 2018-05-25 10:03:15 -05:00
Chris Stewart
dbf078a5b0 Merge pull request #162 from Christewart/refactor_txsigcomponent_output
Refactor txsigcomponent output
2018-05-22 08:14:35 -04:00
Chris Stewart
8716378cc1 Refactoring TransactionSignatureSerializer to only take TxSigCompnents
Cleaning up nits
2018-05-22 06:00:53 -05:00
Chris Stewart
32f64e0dd9 Changing TxSigComponent to take a TransactionOutput instead of a ScriptPubKey, refactoring ScriptProgram into 3 companion objects PreExecutionScriptProgram, ExecutionInProgressScriptProgram, ExecutedScriptProgram 2018-05-19 09:25:32 -05:00
Chris Stewart
c0df8a0976 Merge pull request #161 from Christewart/fix_nversion_blockheader_tx
Changing Transaction, BlockHeader version type from UInt32 -> Int32 t…
2018-05-16 09:58:38 -04:00
Chris Stewart
40d53bb7b3 Changing Transaction, BlockHeader version type from UInt32 -> Int32 to reflect what the bitcoin protocol actually is 2018-05-16 09:13:31 -04:00
Chris Stewart
00408a3b0a Merge pull request #160 from Christewart/address_factory_tostring
Adding AddressFactory.fromStringExn to throw the exception instead of…
2018-05-11 10:54:35 -04:00
Chris Stewart
6775817478 Adding AddressFactory.fromStringExn to throw the exception instead of returning a Try 2018-05-11 09:00:51 -05:00
Chris Stewart
20365baeb2 Merge pull request #159 from Christewart/address_factory_tostring
Address Factory
2018-05-10 11:54:17 -04:00
Chris Stewart
9d834a69d0 :# This is a combination of 2 commits.
Create AddressFactory interface for creating addresses, adding toString method to print address string

Adding isValid to AddressFactory
2018-05-10 10:27:56 -05:00
Chris Stewart
d7d2a22ba8 Merge pull request #157 from Christewart/tx_builder_add_unsigned_tx_field
Exposing the TxBuilder.unsignedTx field -- this gives developers acce…
2018-05-04 16:59:42 -04:00
Chris Stewart
dffa92c801 Exposing the TxBuilder.unsignedTx field -- this gives developers access to building a tx with a TxBuilder, but allows them to sign the tx out of band 2018-05-03 19:10:50 -05:00
Chris Stewart
2b55204eed Merge pull request #156 from dwhjames/topic/multi-module-build
Refactor multi-module build
2018-05-02 17:05:09 -04:00
Daniel James
0309675528 Refactor multi-module build
- separate Java source copied from libsecp256k1 into separate module
- split main module into core core-gen core-test
  - generators can be published separated to core code for use in
    3rd-party tests
- code coverage needs to be aggregated
2018-05-02 16:18:01 -04:00
Chris Stewart
2a39b9a326 Merge pull request #155 from Christewart/zmq_fix_test
Making sure ZMQSubscriberTest compiles
2018-05-01 09:51:56 -04:00
Chris Stewart
f56be7e499 Making sure ZMQSubscriberTest compiles 2018-05-01 08:49:04 -05:00
Chris Stewart
8975dc7ac2 Merge pull request #154 from Christewart/zmq_threading
Zmq threading
2018-05-01 09:25:07 -04:00
Noah Cornwell
4665f0543e Make it compile 2018-04-30 17:24:20 -04:00
Noah Cornwell
294ed10361 POC for threading model in ZMQ subscriber 2018-04-30 17:24:19 -04:00
Chris Stewart
7698f95725 Merge pull request #153 from Christewart/zmq
Adding more logging around zmq connection
2018-04-27 10:27:05 -04:00
Chris Stewart
d4bef008e5 Adding more logging around zmq connection 2018-04-27 08:54:42 -05:00
Chris Stewart
d4fc39f938 Merge pull request #151 from Christewart/zmq
Zmq
2018-04-26 11:13:53 -04:00