Commit Graph

85 Commits

Author SHA1 Message Date
Taylor Gerring e80ef9ff34 Cleanup 2015-03-28 21:41:34 +01:00
Taylor Gerring 9f84c78eb5 BlockFilterArgs 2015-03-27 15:54:54 +01:00
Taylor Gerring e0781c2548 NewTxArgs accept numbers or strings for value/gas/gasprice 2015-03-27 00:07:28 +01:00
Taylor Gerring 3fcef54f9b tidy 2015-03-26 22:58:12 +01:00
Taylor Gerring 6bd1f6cc49 Merge remote-tracking branch 'origin' into rpcargs
Conflicts:
	rpc/args.go
2015-03-26 22:42:46 +01:00
Taylor Gerring bb12dbe233 Prefer args as strings not objects 2015-03-26 22:35:42 +01:00
Taylor Gerring 49a912ce33 Undo xeth changes 2015-03-26 22:14:31 +01:00
Taylor Gerring 1f3814141b WhisperMessageArgs 2015-03-26 21:07:50 +01:00
Taylor Gerring 9ca87afd0b WhisperFilterArgs 2015-03-26 20:52:09 +01:00
Taylor Gerring 81f36df910 CompileArgs 2015-03-26 20:31:00 +01:00
Taylor Gerring b414a1303f WhisperIdentityArgs 2015-03-26 20:20:43 +01:00
Taylor Gerring 1f1e98f96b FilterIdArgs 2015-03-26 20:10:31 +01:00
Taylor Gerring 62ebf999bf FilterStringArgs tests 2015-03-26 20:04:03 +01:00
Taylor Gerring e21ce9a9b4 DbHexArgs tests 2015-03-26 19:39:40 +01:00
Taylor Gerring 3ab9f26943 Accept number or string for BlockFilterArgs limit/offset 2015-03-26 19:17:25 +01:00
Taylor Gerring 6661bc35ef Accept number or string for BlockFilterArgs to/fromBlock 2015-03-26 17:27:29 +01:00
Taylor Gerring 745dd5b7a5 Sha3Args 2015-03-26 16:19:33 +01:00
Taylor Gerring 3472823be9 HashIndexArgs 2015-03-26 14:17:32 +01:00
Taylor Gerring cb103c089a BlockNumIndexArgs 2015-03-26 13:57:41 +01:00
Taylor Gerring cd6b3fd28a GetDataArgs 2015-03-26 13:50:22 +01:00
Taylor Gerring a49c81547c DecodeParamError -> InvalidTypeError for unexpected input type 2015-03-26 13:45:06 +01:00
Taylor Gerring c139af5826 GetBalanceArgs 2015-03-26 13:10:31 +01:00
Taylor Gerring 4523a00b91 GetTxCountArgs 2015-03-26 12:47:00 +01:00
obscuren c33dc3e328 moved helper 2015-03-26 12:40:09 +01:00
obscuren 83b0cad766 fixed block filter args 2015-03-26 12:34:59 +01:00
Taylor Gerring 9c4504dc41 GetStorageAtArgs 2015-03-26 12:11:28 +01:00
obscuren eb433731aa Fixed filter and refactored code 2015-03-26 12:06:14 +01:00
Taylor Gerring 300d36b864 improved NewTxArgs tests 2015-03-26 11:59:35 +01:00
Taylor Gerring ad2089b0a3 Add blockHeightFromJson convenience function 2015-03-26 11:59:16 +01:00
Taylor Gerring 493e0d7be8 improved GetBlockByNumber tests 2015-03-26 11:07:14 +01:00
Taylor Gerring bd1a54f076 GetStorageArgs 2015-03-26 10:52:32 +01:00
Taylor Gerring 966cfa4bdd NewTxArgs 2015-03-26 10:34:21 +01:00
Taylor Gerring c7dc379da5 GetBlockByHashArgs 2015-03-26 10:14:52 +01:00
Taylor Gerring 1e61b75cbf tests + fixes 2015-03-23 17:33:01 +01:00
Taylor Gerring 5707912e2f "pending" convention should be -2 instead of 0 2015-03-23 16:36:12 +01:00
Taylor Gerring 2f8601ef38 Rename blockAge to blockHeight 2015-03-23 16:34:50 +01:00
Taylor Gerring 3f6e1b2fd3 db_putHex/db_getHex + tests 2015-03-23 16:04:21 +01:00
Taylor Gerring 372e1cad5b Cleanup get/submitWork
getWork needs to return additional values
2015-03-23 08:28:54 +01:00
Taylor Gerring 3cea7d87c1 Rename FilterOptions to BlockFilterArgs 2015-03-19 23:55:17 -04:00
Taylor Gerring 6669ef5b70 Rename for clarity 2015-03-19 23:20:54 -04:00
Taylor Gerring 6c04c19eb4 Reorg filter logic to XEth 2015-03-19 22:58:07 -04:00
Taylor Gerring 8b20c3cc97 Validate NewTx From field is not blank 2015-03-18 20:30:09 -04:00
Taylor Gerring e02eedb43e BlockNumber as int fix 2015-03-18 15:48:34 -04:00
Taylor Gerring 7cbcd81ddc Remove UnmarshalRawMessages 2015-03-18 15:42:57 -04:00
Taylor Gerring 719effa7ec Return error when filter params are not strings 2015-03-16 15:30:31 -04:00
Taylor Gerring 5757f547a6 Allow latest/pending in filter options 2015-03-16 10:38:57 -04:00
obscuren b523441361 Moved ethutil => common 2015-03-16 11:27:38 +01:00
Taylor Gerring 0932f84383 Fix eth_newBlockFilter 2015-03-13 10:03:19 -04:00
Taylor Gerring 094f921e50 Convert to proper errors
Allow returning different JSON RPC error codes depending on error type
2015-03-12 19:07:03 -05:00
obscuren 2273155e7e Get transaction implemented
* Added a GetTransaction to XEth
* Implemented the `eth_getTransactionByHash` RPC method
2015-03-12 15:59:07 +01:00