Commit Graph

105 Commits

Author SHA1 Message Date
Daniel A. Nagy 3a01e3e39b Signing (almost) works. 2015-05-08 17:52:44 +02:00
Daniel A. Nagy e94aa421c6 New API call for signatures. 2015-05-08 16:17:19 +02:00
zelig 009b221692 solidity compiler and contract metadocs integration
* common/compiler: solidity compiler + tests
* rpc: eth_compilers, eth_compileSolidity + tests
* fix natspec test using keystore API, notice exp dynamically changes addr, cleanup
* resolver implements registrars and needs to create reg contract (temp)
* xeth: solidity compiler. expose getter Solc() and paths setter SetSolc(solcPath)
* ethereumApi: implement compiler related RPC calls using XEth - json struct tests
* admin: make use of XEth.SetSolc to allow runtime setting of compiler paths
* cli: command line flags solc to set custom solc bin path
* js admin api with new features debug and contractInfo modules
* wiki is the doc https://github.com/ethereum/go-ethereum/wiki/Contracts-and-Transactions
2015-05-07 12:58:21 +02:00
obscuren 03bb88dec0 xeth, rpc: added nonce setting through RPC and xeth transact 2015-05-06 18:30:55 +02:00
Péter Szilágyi e252dae499 rpc: use nil topic wildcards instead of "" 2015-04-28 10:49:04 +03:00
Péter Szilágyi ae4bfc3cfb rpc, ui/qt/qwhisper, whisper, xeth: introduce complex topic filters 2015-04-28 10:49:04 +03:00
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