openethereum/rpc
Gav Wood 3ba3dd3805 Asynchronous transactions (polling based for now). (#1652)
* Asynchronous transactions (polling based for now).

- Alter eth_sendTransaction to be async, returning one of:
  - Transaction hash (signed and submitted).
  - Transaction promise ID (< 32 bytes).
  - Zero hash (will never be signed).
- Introduce new JSONRPC eth_checkTransaction.

The new API call takes a single argument - a promise ID. It returns
either:
- Transaction hash (signed and submitted).
- null (still pending, call again later),
- Zero hash (will never be signed).

* New RPC eth_postTransaction

- Restore previous semantics of sendTransaction.
- Introduce eth_postTransaction.
- Some refactoring.

* Fix minor lockup.

* Use TransientHashMap to prevent leak.
2016-07-19 09:19:58 +02:00
..
rpctest replace synchronization primitives with those from parking_lot (#1593) 2016-07-13 19:59:59 +02:00
src Asynchronous transactions (polling based for now). (#1652) 2016-07-19 09:19:58 +02:00
build.rs Removing superflous check for nightly 2016-03-11 11:16:49 +01:00
Cargo.toml Bump clippy (#1587) 2016-07-12 10:34:08 +02:00