Commit Graph

99 Commits

Author SHA1 Message Date
Taylor Gerring 2ea2261156 Accept num or hex as index 2015-04-22 13:24:10 -05:00
Taylor Gerring 35ad9febce Update eth_getBlockByNumber to accept words 2015-04-22 13:14:10 -05:00
Taylor Gerring 13dc8627b5 Treat hexnums as big.Int instead of int64 2015-04-21 08:48:57 -05:00
obscuren ed0817c55d core/rpc: fix for null entries in log filters. Closes #725
You can now specify `null` as a way of saying "not interested in this
topic, match all". core.Filter assumes the zero'd address to be the
wildcard. JSON rpc assumes empty strings to be wildcards.
2015-04-21 12:00:57 +02:00
obscuren 89fd752659 rpc: set from. Closes #742 2015-04-18 02:32:55 +02:00
obscuren a9959805e5 Removed from as a requirement and changed
Removed the from as a requiremet from the RPC eth_call. Xeth#Call now
also default values to:

1. Supplied account
2. First account if any
3. No managed account => 000000..00
2015-04-09 00:44:20 +02:00
Taylor Gerring 2b9b9e7704 Allow "earliest" block height 2015-04-04 13:25:47 +02:00
Taylor Gerring aa71e27a3b Detect non-valid strings for blockheight 2015-04-02 15:53:04 +02:00
Taylor Gerring 3908590578 Make "To" field optional in whisper filter 2015-04-02 15:37:35 +02:00
Taylor Gerring b4eef59b6f No longer require gas & gas price in transactions
Defaults to 0, which is then set to default values in XEth
2015-04-02 14:05:14 +02:00
Taylor Gerring 015453f5b3 Default Value to 0 for NewTxArgs 2015-04-02 13:55:53 +02:00
Taylor Gerring e402e1dc2e New args types with stricter checking 2015-04-02 13:17:55 +02:00
Taylor Gerring 85ebbc9aa5 Default BlockNumber to -1 when missing 2015-04-02 11:57:26 +02:00
Taylor Gerring 2f3a968136 New CallArgs
Requirements for calls differ from transactions
2015-03-30 16:20:30 +02:00
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