Commit graph

21 commits

Author SHA1 Message Date
nkohen
7f0412a784 Cleanup: Got rid of dummy variables (they are hardcoded for backwards compatibility now), replaced JsArray(vector.map(Json.toJson(_)) pattern with Json.toJson(vector.map), and ran scalafmt 2018-06-25 09:56:37 -05:00
nkohen
3630bf1b00 Added functionality for importmulti, getpeerinfo, getrawmempool (verbose), getnettotals, getmempooldescendants, getmempoolancestors, and sendmany 2018-06-25 09:56:37 -05:00
nkohen
a6dd90ef5f Aaaaaand more tests 2018-06-25 09:56:37 -05:00
nkohen
0b06370d65 Formatted using scalafmt 2018-06-25 09:56:37 -05:00
nkohen
bce491f5ec Added a bunch of tests 2018-06-25 09:56:37 -05:00
nkohen
53a617fea6 Made many changes as requested by Chris Stewart in code review 2018-06-25 09:56:37 -05:00
nkohen
2a7c19b4dc Split signRawTransaction into signRawTransactionWithKeys and signRawTransactionWithWallet and added tests for decodeRawTransaction and signRawTransactionWIthWallet 2018-06-25 09:56:37 -05:00
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