Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #1917 from obscuren/validator-interface | Jeffrey Wilcke | 2015-11-19 | 1 | -4/+24 |
|\ | | | | | core, eth, rpc: split out block validator and state processor | ||||
| * | core, eth, rpc: split out block validator and state processor | Jeffrey Wilcke | 2015-11-18 | 1 | -4/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | This removes the burden on a single object to take care of all validation and state processing. Now instead the validation is done by the `core.BlockValidator` (`types.Validator`) that takes care of both header and uncle validation through the `ValidateBlock` method and state validation through the `ValidateState` method. The state processing is done by a new object `core.StateProcessor` (`types.Processor`) and accepts a new state as input and uses that to process the given block's transactions (and uncles for rewords) to calculate the state root for the next block (P_n + 1). | ||||
* | | rpc/api: fix #1986, newIdentity autocomplete | Péter Szilágyi | 2015-11-18 | 1 | -1/+1 |
|/ | |||||
* | rpc/api: fix #1972 api regression (nil eth panic) in attach | Péter Szilágyi | 2015-11-06 | 2 | -7/+4 |
| | |||||
* | Merge pull request #1934 from karalabe/polish-protocol-infos | Jeffrey Wilcke | 2015-11-04 | 2 | -4/+7 |
|\ | | | | | eth, p2p, rpc/api: polish protocol info gathering | ||||
| * | eth, p2p, rpc/api: polish protocol info gathering | Péter Szilágyi | 2015-10-28 | 2 | -4/+7 |
| | | |||||
* | | Merge pull request #1948 from bas-vk/rpcfix | Jeffrey Wilcke | 2015-11-03 | 2 | -7/+12 |
|\ \ | | | | | | | Infinite loop in filters | ||||
| * | | rpc: return an unsupported error when "pending" was used to create a filter | Bas van Kervel | 2015-10-30 | 2 | -7/+12 |
| |/ | |||||
* | | Merge pull request #1946 from fjl/xeth-oom | Jeffrey Wilcke | 2015-10-30 | 3 | -70/+49 |
|\ \ | | | | | | | Fix for xeth OOM issue | ||||
| * | | cmd/utils, rpc/comms: stop XEth when IPC connection ends | Felix Lange | 2015-10-30 | 3 | -70/+49 |
| |/ | | | | | | | | | | | | | | | | | | | | | There are a bunch of changes required to make this work: - in miner: allow unregistering agents, fix RemoteAgent.Stop - in eth/filters: make FilterSystem.Stop not crash - in rpc/comms: move listen loop to platform-independent code Fixes #1930. I ran the shell loop there for a few minutes and didn't see any changes in the memory profile. | ||||
* / | rpc: fixed params parsing problem which could lead to a panic | Bas van Kervel | 2015-10-29 | 2 | -7/+18 |
|/ | | | | | check argument type before parsing params recover from panic in ipc channel | ||||
* | rpc api: eth_getNatSpec | zelig | 2015-10-27 | 5 | -15/+31 |
| | | | | | | | | * xeth, rpc: implement eth_getNatSpec for tx confirmations * rename silly docserver -> httpclient * eth/backend: httpclient now accessible via eth.Ethereum init-d via config.DocRoot * cmd: introduce separate CLI flag for DocRoot (defaults to homedir) * common/path: delete unused assetpath func, separate HomeDir func | ||||
* | console: | zelig | 2015-10-22 | 7 | -21/+67 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lines with leading space are ommitted from history * exit processed even with whitespace around * all whitespace lines (not only empty ones) are ignored add 7 missing commands to admin api autocomplete registrar: methods now return proper error if reg addresses are not set. fixes #1457 rpc/console: fix personal.newAccount() regression. Now all comms accept interactive password registrar: add registrar tests for errors crypto: catch AES decryption error on presale wallet import + fix error msg format. fixes #1580 CLI: improve error message when starting a second instance of geth. fixes #1564 cli/accounts: unlock multiple accounts. fixes #1785 * make unlocking multiple accounts work with inline <() fd * passwdfile now correctly read only once * improve logs * fix CLI help text for unlocking fix regression with docRoot / admin API * docRoot/jspath passed to rpc/api ParseApis, which passes onto adminApi * docRoot field for JS console in order to pass when RPC is (re)started * improve flag desc for jspath common/docserver: catch http errors from response fix rpc/api tests common/natspec: fix end to end test (skipped because takes 8s) registrar: fix major regression: * deploy registrars on frontier * register HashsReg and UrlHint in GlobalRegistrar. * set all 3 contract addresses in code * zero out addresses first in tests | ||||
* | core, eth, trie: fix data races and merge/review issues | Péter Szilágyi | 2015-10-21 | 1 | -3/+1 |
| | |||||
* | core, eth: receipt chain reconstruction | Péter Szilágyi | 2015-10-19 | 1 | -1/+1 |
| | |||||
* | core: differentiate receipt concensus and storage decoding | Péter Szilágyi | 2015-10-19 | 1 | -2/+2 |
| | |||||
* | core: support inserting pure header chains | Péter Szilágyi | 2015-10-19 | 1 | -7/+1 |
| | |||||
* | Merge pull request #1869 from Gustav-Simonsson/gpu_miner | Jeffrey Wilcke | 2015-10-16 | 1 | -1/+1 |
|\ | | | | | all: Add GPU mining, disabled by default | ||||
| * | all: Add GPU mining, disabled by default | Gustav Simonsson | 2015-10-07 | 1 | -1/+1 |
| | | |||||
* | | core/state, core, miner: handle missing root error from state.New | Gustav Simonsson | 2015-10-16 | 1 | -3/+3 |
| | | |||||
* | | cmd/geth, cmd/utils, core, rpc: renamed to blockchain | Jeffrey Wilcke | 2015-10-04 | 3 | -6/+6 |
| | | | | | | | | | | | | * Renamed ChainManager to BlockChain * Checkpointing is no longer required and never really properly worked when the state was corrupted. | ||||
* | | cmd/evm, core/vm, test: refactored VM and core | Jeffrey Wilcke | 2015-10-04 | 1 | -3/+3 |
|/ | | | | | | | | | | | | | | | | | * Moved `vm.Transfer` to `core` package and changed execution to call `env.Transfer` instead of `core.Transfer` directly. * core/vm: byte code VM moved to jump table instead of switch * Moved `vm.Transfer` to `core` package and changed execution to call `env.Transfer` instead of `core.Transfer` directly. * Byte code VM now shares the same code as the JITVM * Renamed Context to Contract * Changed initialiser of state transition & unexported methods * Removed the Execution object and refactor `Call`, `CallCode` & `Create` in to their own functions instead of being methods. * Removed the hard dep on the state for the VM. The VM now depends on a Database interface returned by the environment. In the process the core now depends less on the statedb by usage of the env * Moved `Log` from package `core/state` to package `core/vm`. | ||||
* | rpc/api: don't crash for unknown blocks | Felix Lange | 2015-09-23 | 1 | -25/+23 |
| | | | | | | | | | | | Most eth RPC calls that work with blocks crashed when the block was not found because they called Hash on a nil block. This is a regression introduced in cdc2662c409 (#1779). While here, remove the insane conversions in get*CountBy*. There is no need to construct a complete BlockRes and converting int->int64->*big.Int->[]byte->hexnum->string to format the length of a slice as hex. | ||||
* | jsre, rpc/api: pull in new web3 and use hex numbers | Péter Szilágyi | 2015-09-15 | 2 | -7/+3 |
| | |||||
* | eth, rpc: standardize the chain sync progress counters | Péter Szilágyi | 2015-09-15 | 5 | -17/+20 |
| | |||||
* | Merge pull request #1797 from karalabe/ensure-ipcpath-exists | Felix Lange | 2015-09-14 | 1 | -1/+6 |
|\ | | | | | rpc/comms: fix #1795, ensure IPC path exists before binding | ||||
| * | rpc/comms: fix #1795, ensure IPC path exists before binding | Péter Szilágyi | 2015-09-11 | 1 | -1/+6 |
| | | |||||
* | | core: split out TD from database and all internals | Péter Szilágyi | 2015-09-11 | 2 | -40/+36 |
|/ | |||||
* | rpc/comms: fix bug attaching the console over http | Hector Chu | 2015-09-07 | 1 | -2/+2 |
| | |||||
* | Merge pull request #1742 from fjl/rpc-receipt-root | Felix Lange | 2015-08-31 | 1 | -0/+6 |
|\ | | | | | rpc: add receiptRoot to getBlock* responses | ||||
| * | rpc: add receiptRoot to getBlock* responses | Felix Lange | 2015-08-29 | 1 | -0/+6 |
| | | | | | | | | Fixes #1679 | ||||
* | | Merge pull request #1724 from Gustav-Simonsson/get_work | Felix Lange | 2015-08-29 | 3 | -1/+23 |
|\ \ | | | | | | | rpc: return error code for eth_getWork when no work ready | ||||
| * | | Improve error string and remove unneeded else clause | Gustav Simonsson | 2015-08-28 | 2 | -5/+5 |
| | | | |||||
| * | | rpc: return error code for eth_getWork when no work ready | Gustav Simonsson | 2015-08-26 | 3 | -1/+23 |
| | | | |||||
* | | | rpc/api allow empty password | Bas van Kervel | 2015-08-28 | 2 | -4/+4 |
| |/ |/| | |||||
* | | Merge pull request #1718 from caktux/develop | Felix Lange | 2015-08-27 | 1 | -0/+1 |
|\ \ | | | | | | | add missing shh_getMessages to RPC mappings | ||||
| * | | add missing shh_getMessages to RPC mappings | caktux | 2015-08-26 | 1 | -0/+1 |
| |/ | |||||
* | | Merge pull request #1721 from bas-vk/console-error-parsing | Felix Lange | 2015-08-27 | 2 | -8/+7 |
|\ \ | | | | | | | Improved console error handling | ||||
| * | | bugfix console error handling | Bas van Kervel | 2015-08-26 | 2 | -8/+7 |
| |/ | |||||
* / | rpc/api - remove personal.deleteAccount from RPC interface | Bas van Kervel | 2015-08-26 | 3 | -47/+0 |
|/ | |||||
* | Set ipc channel as user agent client | Bas van Kervel | 2015-08-24 | 4 | -20/+48 |
| | |||||
* | Merge pull request #1694 from obscuren/hide-fdtrack | Jeffrey Wilcke | 2015-08-20 | 2 | -6/+2 |
|\ | | | | | fdtrack: hide message | ||||
| * | Revert "fdtrack: temporary hack for tracking file descriptor usage" | Jeffrey Wilcke | 2015-08-20 | 2 | -6/+2 |
| | | | | | | | | This reverts commit 5c949d3b3ba81ea0563575b19a7b148aeac4bf61. | ||||
* | | rpc/comms reconnect ipc client after write error | Bas van Kervel | 2015-08-20 | 1 | -3/+5 |
|/ | |||||
* | Merge pull request #1675 from obscuren/submithashrate-change | Jeffrey Wilcke | 2015-08-18 | 1 | -2/+2 |
|\ | | | | | rpc/api: return boolean value for eth_submitHashrate | ||||
| * | rpc/api: return boolean value for eth_submitHashrate | Jeffrey Wilcke | 2015-08-17 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #1673 from karalabe/fix-api-xeth-responses | Jeffrey Wilcke | 2015-08-18 | 1 | -5/+13 |
|\ \ | | | | | | | rpc: update the xeth over RPC API to use the success/failure messages | ||||
| * | | rpc: update the xeth over RPC API to use the success/failure messages | Péter Szilágyi | 2015-08-17 | 1 | -5/+13 |
| |/ | |||||
* | | Merge pull request #1649 from maran/pending_tx_response | Jeffrey Wilcke | 2015-08-17 | 1 | -8/+8 |
|\ \ | |/ |/| | rpc/api: format pendingTx response. Fixes #1648 | ||||
| * | rpc/api: format pendingTx response. Fixes #1648 | Maran | 2015-08-16 | 1 | -8/+8 |
| | | |||||
* | | support for user agents | Bas van Kervel | 2015-08-12 | 15 | -71/+337 |
|/ | |||||
* | core, eth, trie, xeth: merged state, chain, extra databases in one | Jeffrey Wilcke | 2015-08-08 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1595 from obscuren/extra-data | Jeffrey Wilcke | 2015-08-07 | 1 | -6/+2 |
|\ | | | | | cmd/geth, eth: added canonical extra data | ||||
| * | miner, rpc: added length check for extra data | Jeffrey Wilcke | 2015-08-07 | 1 | -6/+2 |
| | | |||||
* | | miner, rpc: added submit hashrate for remote agents | Jeffrey Wilcke | 2015-08-06 | 2 | -0/+41 |
|/ | |||||
* | fdtrack: temporary hack for tracking file descriptor usage | Felix Lange | 2015-08-04 | 2 | -2/+6 |
| | | | | | Package fdtrack logs statistics about open file descriptors. This should help identify the source of #1549. | ||||
* | rpc/comms: use ConnState to track HTTP connections | Felix Lange | 2015-08-03 | 2 | -205/+162 |
| | | | | | | | | | | | | | | The JSON-RPC server wraps TCP connections in order to be able to shut down them down when RPC is stopped. This is rather scary code. Go 1.3 introduced the http.Server.ConnState hook for such purposes. We can use this facility now that we depend on Go 1.4. There are multiple reasons for the switch apart from making the code less scary: * the TCP listener no longer ticks every second to check a channel * pending requests are allowed to finish after stopping the server * we can time out idle keep-alive connections | ||||
* | Merge pull request #1461 from bas-vk/eth_resend | Jeffrey Wilcke | 2015-08-02 | 2 | -7/+19 |
|\ | | | | | Old transaction after resend was not removed from pool | ||||
| * | bugfix, pending transaction was resend with new gas price/limit but not ↵ | Bas van Kervel | 2015-07-28 | 2 | -7/+19 |
| | | | | | | | | removed from transaction pool | ||||
* | | rpc/api: add missing autocomplete commands | Péter Szilágyi | 2015-07-31 | 1 | -5/+12 |
| | | |||||
* | | rpc: to in Call no longer required. Fixed eth_estimateGas | Jeffrey Wilcke | 2015-07-29 | 3 | -8/+4 |
| | | |||||
* | | Merge pull request #1515 from fjl/license-fixes | Jeffrey Wilcke | 2015-07-28 | 49 | -49/+49 |
|\ \ | | | | | | | all: fix license headers one more time | ||||
| * | | all: fix license headers one more time | Felix Lange | 2015-07-24 | 49 | -49/+49 |
| | | | | | | | | | | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a. | ||||
* | | | params: reduce extra data to 32 bytes | Jeffrey Wilcke | 2015-07-26 | 1 | -0/+8 |
|/ / | |||||
* / | all: update license headers to distiguish GPL/LGPL | Felix Lange | 2015-07-23 | 49 | -196/+196 |
|/ | | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library". | ||||
* | added net.version | Bas van Kervel | 2015-07-08 | 3 | -2/+10 |
| | |||||
* | all: add some godoc synopsis comments | Felix Lange | 2015-07-07 | 1 | -0/+1 |
| | |||||
* | all: update license information | Felix Lange | 2015-07-07 | 49 | -0/+784 |
| | |||||
* | Merge pull request #1428 from obscuren/coinbase-fixes | Jeffrey Wilcke | 2015-07-07 | 3 | -0/+43 |
|\ | | | | | cmd,eth,rpc,tests: default coinbase | ||||
| * | eth,miner,rpc: set coinbase | Jeffrey Wilcke | 2015-07-07 | 1 | -1/+1 |
| | | |||||
| * | cmd,eth,rpc,tests: default coinbase | Jeffrey Wilcke | 2015-07-07 | 3 | -0/+43 |
| | | |||||
* | | fix/skip tests, adapt registrar to no contract address | zelig | 2015-07-07 | 1 | -6/+6 |
| | | | | | | | | registry initialisers now return the txhash which caller can use to retrieve receipt | ||||
* | | rebase with zelig/frontier/registrar | Bas van Kervel | 2015-07-07 | 1 | -20/+10 |
| | | |||||
* | | corrected input formatters as suggested during review | Bas van Kervel | 2015-07-07 | 6 | -24/+4 |
| | | |||||
* | | fixed web3 formatters mismatch | Bas van Kervel | 2015-07-07 | 9 | -174/+73 |
| | | |||||
* | | fix js arguments and TestContract passes | zelig | 2015-07-07 | 2 | -17/+19 |
| | | |||||
* | | fix sleepBlocks, implement sleep | zelig | 2015-07-07 | 3 | -18/+44 |
| | | |||||
* | | add missing method to api/admin | zelig | 2015-07-07 | 2 | -2/+17 |
| | | |||||
* | | Registrar and contractInfo handling | zelig | 2015-07-07 | 3 | -13/+508 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * resolver -> common/registrar * global registrar name registry interface * add Call to resolver backend interface * the hashReg and UrlHing contracts now initialised from global registry * initialization of contracts uniform * improve errors and more econsistent method names * common/registrar/ethreg: versioned registrar * integrate new naming and registrar in natspec * js console api: setGlobalRegistrar, setHashReg, setUrlHint * js test TestContract uses mining - tests fixed all pass * eth/backend: allow PoW test mode (small ethash DAG) * console jsre refers to resolver.abi/addr, * cmd/geth/contracts.go moved to common/registrar | ||||
* | | Registrar and contractInfo handling | zelig | 2015-07-07 | 2 | -0/+79 |
|/ | | | | | | | | | | | | | | | | * resolver -> common/registrar * global registrar name registry interface * add Call to resolver backend interface * the hashReg and UrlHing contracts now initialised from global registry * initialization of contracts uniform * improve errors and more econsistent method names * common/registrar/ethreg: versioned registrar * integrate new naming and registrar in natspec * js console api: setGlobalRegistrar, setHashReg, setUrlHint * js test TestContract uses mining - tests fixed all pass * eth/backend: allow PoW test mode (small ethash DAG) * console jsre refers to resolver.abi/addr, * cmd/geth/contracts.go moved to common/registrar | ||||
* | core, eth, rpc: proper gas used. Closes #1417 | Jeffrey Wilcke | 2015-07-07 | 2 | -5/+4 |
| | | | | Added some additional backward compatibility code for old receipts | ||||
* | rpc, xeth: fixed returned tx hash & receipt logs | Jeffrey Wilcke | 2015-07-06 | 1 | -9/+14 |
| | |||||
* | Add autocomplete support for console | Taylor Gerring | 2015-07-06 | 1 | -0/+1 |
| | |||||
* | Cleanup | Taylor Gerring | 2015-07-05 | 1 | -4/+4 |
| | |||||
* | Compose additional fields | Taylor Gerring | 2015-07-05 | 2 | -5/+18 |
| | |||||
* | Remove redundant function | Taylor Gerring | 2015-07-05 | 1 | -1/+1 |
| | |||||
* | Rename local variable for clarity | Taylor Gerring | 2015-07-04 | 1 | -2/+2 |
| | |||||
* | Decode full receipt storage | Taylor Gerring | 2015-07-04 | 1 | -2/+4 |
| | |||||
* | Fix hex conversion | Taylor Gerring | 2015-07-04 | 1 | -1/+2 |
| | |||||
* | Initial getTransactionReceipt support | Taylor Gerring | 2015-07-04 | 2 | -0/+43 |
| | |||||
* | fixed unittest after new implementation | Bas van Kervel | 2015-07-03 | 1 | -37/+1 |
| | |||||
* | simplified implementation and improved performance | Bas van Kervel | 2015-07-03 | 1 | -103/+20 |
| | |||||
* | display rpc error in console | Bas van Kervel | 2015-07-03 | 2 | -13/+15 |
| | |||||
* | prevent discarding requests when parsing fails | Bas van Kervel | 2015-07-02 | 2 | -26/+273 |
| | |||||
* | added pipelining support | Bas van Kervel | 2015-07-02 | 1 | -15/+20 |
| | |||||
* | fix logging jsonrpc request #1365 | ethers | 2015-07-01 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1328 from bas-vk/issue1327 | Jeffrey Wilcke | 2015-06-30 | 5 | -8/+252 |
|\ | | | | | Add pendingTransactions and resend | ||||
| * | solved merge conflicts | Bas van Kervel | 2015-06-30 | 1 | -9/+0 |
| |\ | |||||
| | * | initialize fields to prevent nil pointer exception | Bas van Kervel | 2015-06-29 | 1 | -3/+8 |
| | | | |||||
| | * | add json parsing method for resend transaction | Bas van Kervel | 2015-06-29 | 2 | -2/+76 |
| | | | |||||
| | * | improved error handling in parsing request | Bas van Kervel | 2015-06-29 | 2 | -2/+8 |
| | | | |||||
| | * | fixed unittest compilation issue | Bas van Kervel | 2015-06-24 | 1 | -2/+3 |
| | | | |||||
| | * | added eth.resend | Bas van Kervel | 2015-06-24 | 4 | -0/+76 |
| | | | |||||
| | * | added eth.pendingTransactions | Bas van Kervel | 2015-06-24 | 4 | -6/+79 |
| | | | |||||
| * | | rebase with develop | Bas van Kervel | 2015-06-30 | 2 | -15/+33 |
| | | | |||||
| * | | initialize fields to prevent nil pointer exception | Bas van Kervel | 2015-06-30 | 1 | -3/+8 |
| | | | |||||
| * | | add json parsing method for resend transaction | Bas van Kervel | 2015-06-30 | 2 | -2/+76 |
| | | | |||||
| * | | improved error handling in parsing request | Bas van Kervel | 2015-06-30 | 2 | -2/+8 |
| | | | |||||
| * | | fixed unittest compilation issue | Bas van Kervel | 2015-06-30 | 1 | -2/+3 |
| | | | |||||
| * | | added eth.resend | Bas van Kervel | 2015-06-30 | 4 | -0/+76 |
| | | | |||||
| * | | added eth.pendingTransactions | Bas van Kervel | 2015-06-30 | 4 | -6/+79 |
| | | | |||||
* | | | core: reduce CPU load by reducing calls to checkQueue | Jeffrey Wilcke | 2015-06-30 | 1 | -2/+3 |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Reduced maxQueue count * Added proper deletion past maxQueue limit * Added cheap stats method to txpool queueCheck was called for **every** transaction instead of: 1. add all txs 2. check queue previously 1. add txs[i] 2. check queue 3. if i < len(txs) goto 1. | ||||
* | | core, eth, rpc: avoid unnecessary block header copying | Felix Lange | 2015-06-30 | 1 | -8/+10 |
| | | |||||
* | | rpc: unmask pending block fields | Felix Lange | 2015-06-30 | 1 | -8/+0 |
| | | | | | | | | This pleases the RPC tests. | ||||
* | | Merge pull request #1321 from karalabe/cut-it-open-3000 | Jeffrey Wilcke | 2015-06-25 | 4 | -0/+183 |
|\ \ | | | | | | | Metrics collecting and reporting support | ||||
| * | | cmd/geth, rpc/api: fix reported metrics issues | Péter Szilágyi | 2015-06-25 | 1 | -15/+12 |
| | | | |||||
| * | | rpc/api, cmd/geth: retrievel all percentiles, add time units | Péter Szilágyi | 2015-06-24 | 1 | -21/+22 |
| | | | |||||
| * | | cmd/geth, rpc/api: extend metrics API, add a basic monitor command | Péter Szilágyi | 2015-06-24 | 4 | -32/+148 |
| | | | |||||
| * | | cmd/geth, rpc/api: move the metrics into the new console | Péter Szilágyi | 2015-06-24 | 2 | -0/+69 |
| |/ | |||||
* | | improved logging for IPC connection lifetime management | Bas van Kervel | 2015-06-25 | 4 | -12/+23 |
| | | |||||
* | | added IPC timeout support | Bas van Kervel | 2015-06-25 | 1 | -26/+34 |
| | | |||||
* | | support for large request/response on windows | unknown | 2015-06-25 | 1 | -31/+8 |
| | | |||||
* | | support for large requests/responses | Bas van Kervel | 2015-06-25 | 3 | -17/+32 |
| | | |||||
* | | added support for batch requests | Bas van Kervel | 2015-06-25 | 3 | -21/+78 |
|/ | |||||
* | bugfix in startRPC error handling | Bas van Kervel | 2015-06-23 | 1 | -4/+4 |
| | |||||
* | fixed eth sign unittest | Bas van Kervel | 2015-06-22 | 5 | -9/+27 |
| | |||||
* | added RPC start/stop support | Bas van Kervel | 2015-06-22 | 28 | -125/+216 |
| | |||||
* | fixed unittests | Bas van Kervel | 2015-06-22 | 1 | -29/+0 |
| | |||||
* | added batch support to console and attach actions | Bas van Kervel | 2015-06-22 | 3 | -26/+26 |
| | |||||
* | moved solidity test to new rpc structure | Bas van Kervel | 2015-06-22 | 1 | -0/+110 |
| | |||||
* | added attach over http/rpc support | Bas van Kervel | 2015-06-22 | 3 | -6/+134 |
| | |||||
* | added attach over ipc command | Bas van Kervel | 2015-06-22 | 6 | -10/+128 |
| | |||||
* | cleanup comments/code | Bas van Kervel | 2015-06-22 | 2 | -99/+12 |
| | |||||
* | removed old rpc structure and added new inproc api client | Bas van Kervel | 2015-06-22 | 17 | -3482/+197 |
| | |||||
* | fixed rpc test failure in eth.blockNumber | Bas van Kervel | 2015-06-22 | 1 | -43/+45 |
| | |||||
* | fixed rpc test failure in net_peerCount | Bas van Kervel | 2015-06-22 | 1 | -1/+1 |
| | |||||
* | fixed web3 rpc test failures | Bas van Kervel | 2015-06-22 | 1 | -0/+24 |
| | |||||
* | added DB api | Bas van Kervel | 2015-06-22 | 6 | -5/+295 |
| | |||||
* | refactored old rpc structure to new | Bas van Kervel | 2015-06-22 | 1 | -0/+4 |
| | |||||
* | added comms http | Bas van Kervel | 2015-06-22 | 5 | -1/+254 |
| | |||||
* | made ipc handler generic and reusable | Bas van Kervel | 2015-06-22 | 2 | -28/+39 |
| | |||||
* | Merge pull request #1290 from tgerring/dataargs | Jeffrey Wilcke | 2015-06-19 | 1 | -0/+54 |
|\ | | | | | unit test coverage for NewDataArgs | ||||
| * | unit test coverage for NewDataArgs | Taylor Gerring | 2015-06-18 | 1 | -0/+54 |
| | | |||||
* | | Merge pull request #1267 from SilentCicero/develop | Jeffrey Wilcke | 2015-06-19 | 5 | -0/+85 |
|\| | | | | | eth_sendRawTransaction JSON RPC | ||||
| * | New DataArgs and eth_sendRawTransaction | SilentCicero | 2015-06-17 | 4 | -2/+60 |
| | | |||||
| * | thanks subtly :) | Nick Dodson | 2015-06-16 | 1 | -1/+1 |
| | | |||||
| * | NewSigArgs arg change. | Nick Dodson | 2015-06-16 | 1 | -1/+1 |
| | | |||||
| * | Update utils.go | Nick Dodson | 2015-06-15 | 1 | -1/+1 |
| | | |||||
| * | Update eth.go | Nick Dodson | 2015-06-15 | 1 | -1/+1 |
| | | |||||
| * | Change eth_pushTx case to eth_sendRawTransaction | Nick Dodson | 2015-06-15 | 1 | -1/+1 |
| | | |||||
| * | Changed variable names | SilentCicero | 2015-06-15 | 2 | -8/+2 |
| | | |||||
| * | eth_pushTx send raw signed encoded TX data to the chain through RPC | SilentCicero | 2015-06-15 | 3 | -0/+33 |
| | | |||||
* | | Merge pull request #1260 from obscuren/tx-drop-low-tx | Jeffrey Wilcke | 2015-06-16 | 2 | -7/+10 |
|\ \ | | | | | | | core: drop low gas tx | ||||
| * | | rpc/api: fixed default gas-(price) issue. | obscuren | 2015-06-15 | 2 | -7/+10 |
| |/ | |||||
* | | fixed rpc/api.GasPrice | zsfelfoldi | 2015-06-15 | 1 | -1/+1 |
| | | |||||
* | | fixed saving receipts | zsfelfoldi | 2015-06-15 | 1 | -1/+1 |
|/ | |||||
* | fixed incomplete merge action | Bas van Kervel | 2015-06-11 | 1 | -702/+0 |
| | |||||
* | removed obsolete print statement | Bas van Kervel | 2015-06-11 | 1 | -86/+0 |
| | |||||
* | upgrade web3.js with _extend support | Bas van Kervel | 2015-06-11 | 7 | -6/+51 |
| | |||||
* | added net API | Bas van Kervel | 2015-06-11 | 1 | -0/+8 |
| | |||||
* | added miner API | Bas van Kervel | 2015-06-11 | 1 | -1/+5 |
| | |||||
* | fixed windows build problem | Bas van Kervel | 2015-06-11 | 1 | -0/+702 |
| | |||||
* | changed send methods for backwards compatability in geth console | Bas van Kervel | 2015-06-11 | 1 | -0/+54 |
| | |||||
* | added console command | Bas van Kervel | 2015-06-11 | 4 | -26/+62 |
| | |||||
* | added API/IPC commandline flags | Bas van Kervel | 2015-06-11 | 1 | -0/+5 |
| | |||||
* | restructured eth rpc API | Bas van Kervel | 2015-06-11 | 3 | -0/+122 |
| | |||||
* | added shh API | Bas van Kervel | 2015-06-11 | 6 | -5/+370 |
| | |||||
* | cleanup of javascript API | Bas van Kervel | 2015-06-11 | 9 | -88/+89 |
| | |||||
* | added txpool API | Bas van Kervel | 2015-06-11 | 4 | -1/+91 |
| | |||||
* | upgrade web3.js with _extend support | Bas van Kervel | 2015-06-11 | 5 | -79/+79 |
| | |||||
* | added admin API | Bas van Kervel | 2015-06-11 | 14 | -203/+613 |
| | |||||
* | added personal API | Bas van Kervel | 2015-06-11 | 5 | -9/+259 |
| | |||||
* | added debug API | Bas van Kervel | 2015-06-11 | 9 | -712/+980 |
| | |||||
* | added net API | Bas van Kervel | 2015-06-11 | 9 | -11/+141 |
| | |||||
* | added miner API | Bas van Kervel | 2015-06-11 | 5 | -1/+323 |
| | |||||
* | fixed windows build problem | Bas van Kervel | 2015-06-11 | 1 | -1/+1 |
| | |||||
* | changed send methods for backwards compatability in geth console | Bas van Kervel | 2015-06-11 | 1 | -0/+54 |
| | |||||
* | added console command | Bas van Kervel | 2015-06-11 | 8 | -61/+213 |
| | |||||
* | added API/IPC commandline flags | Bas van Kervel | 2015-06-11 | 1 | -0/+5 |
| | |||||
* | added RPC/IPC support | Bas van Kervel | 2015-06-11 | 6 | -1/+887 |
| | |||||
* | restructured eth rpc API | Bas van Kervel | 2015-06-11 | 11 | -0/+2167 |
| | |||||
* | Updated test | Taylor Gerring | 2015-06-11 | 1 | -0/+8 |
| | |||||
* | rpc: skip test if solc version doesn't match | obscuren | 2015-06-10 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1217 from tgerring/rpcsign | Jeffrey Wilcke | 2015-06-09 | 2 | -13/+74 |
|\ | | | | | Fix RPC sign | ||||
| * | Fixed signing + tests | Taylor Gerring | 2015-06-09 | 2 | -13/+74 |
| | | |||||
* | | gas -> gasprice | Taylor Gerring | 2015-06-09 | 1 | -2/+2 |
| | | |||||
* | | gas -> gasprice | Taylor Gerring | 2015-06-09 | 1 | -2/+2 |
| | | |||||
* | | Differentiate between 0 and unspecified gas/gasprice | Taylor Gerring | 2015-06-09 | 3 | -22/+54 |
|/ | |||||
* | cmd/geth, jsre, rpc: run all JS code on the event loop | Felix Lange | 2015-05-25 | 1 | -3/+3 |
| | | | | | | Some JSRE methods (PrettyPrint, ToVal) bypassed the event loop. All calls to the JS VM are now wrapped. In order to make this somewhat more foolproof, the otto VM is now a local variable inside the event loop. | ||||
* | core/vm, rpc: added disasm to `ext_` RPC | obscuren | 2015-05-22 | 1 | -1/+8 |
| | |||||
* | core: added RPC sign back in | obscuren | 2015-05-22 | 2 | -42/+42 |
| | |||||
* | rpc: NewNotAvailableError instead of NewNotImplementedError if no solc | zelig | 2015-05-20 | 1 | -1/+1 |
| | |||||
* | fix eth.sign. now implemented in admin jsre until web3.js has it . | zelig | 2015-05-20 | 2 | -42/+42 |
| | |||||
* | multiple contract source for solidity compiler: returns contract array if ↵ | zelig | 2015-05-20 | 2 | -13/+16 |
| | | | | multiple contracts. fixes #1023 | ||||
* | fix solc tests unskip | zelig | 2015-05-20 | 1 | -9/+11 |
| | |||||
* | Merge pull request #1036 from tgerring/issue884 | Jeffrey Wilcke | 2015-05-19 | 1 | -6/+16 |
|\ | | | | | JSON RPC null field updates | ||||
| * | Use bytes.Repeat() instead of 32-byte literal | Taylor Gerring | 2015-05-19 | 1 | -1/+2 |
| | | |||||
| * | Cleanup | Taylor Gerring | 2015-05-18 | 1 | -3/+1 |
| | | |||||
| * | Return nil for certain fields on eth_getTransactionByHash when not part of a ↵ | Taylor Gerring | 2015-05-18 | 1 | -3/+7 |
| | | | | | | | | block | ||||
| * | Return nil for certain fields on eth_getBlockByNumber pending | Taylor Gerring | 2015-05-18 | 1 | -0/+7 |
| | | |||||
* | | Permit multiple CORS domains | Taylor Gerring | 2015-05-18 | 1 | -1/+2 |
|/ | | | | Separated by spaces | ||||
* | Merge pull request #984 from tgerring/issue924 | Jeffrey Wilcke | 2015-05-15 | 1 | -3/+21 |
|\ | | | | | Omit replies for RPC notification requests | ||||
| * | Unreverse ordering | Taylor Gerring | 2015-05-15 | 1 | -2/+1 |
| | | |||||
| * | Omit replies for notification requests | Taylor Gerring | 2015-05-15 | 1 | -3/+22 |
| | | | | | | | | When Id is missing, the client does not want a response | ||||
* | | Format contract code as hexdata | Taylor Gerring | 2015-05-15 | 1 | -0/+1 |
|/ | |||||
* | fix hex conversion bug in RPC for byte slices | Gustav Simonsson | 2015-05-12 | 1 | -1/+8 |
| | |||||
* | sol: skipped source checking step | obscuren | 2015-05-12 | 1 | -4/+7 |
| | |||||
* | rpc: hexData => hexNum | obscuren | 2015-05-12 | 1 | -2/+2 |
| | |||||
* | xeth, rpc: implement eth_estimateGas. Closes #930 | obscuren | 2015-05-12 | 1 | -4/+21 |
| | |||||
* | cmd/geth, miner, backend, xeth: Fixed miner threads to be settable | obscuren | 2015-05-11 | 1 | -1/+1 |
| | | | | | Miner threads are now settable through the admin interface (closes #897) and specify 0 CPU worker threads when eth_getWork is called (closes #916) | ||||
* | Merge branch 'develop' of github.com:ethereum/go-ethereum into develop | Daniel A. Nagy | 2015-05-11 | 4 | -1/+52 |
|\ | | | | | | | | | Conflicts: rpc/jeth.go | ||||
| * | rpc: display error message to stdout | obscuren | 2015-05-11 | 1 | -0/+2 |
| | | |||||
| * | rpc, xeth: fix #881, gracefully handle offline whisper | Péter Szilágyi | 2015-05-11 | 3 | -1/+50 |
| | | |||||
* | | Signing (almost) works. | Daniel A. Nagy | 2015-05-08 | 2 | -2/+35 |
| | | |||||
* | | eth_sign added to API for signing arbitrary data. | Daniel A. Nagy | 2015-05-08 | 1 | -1/+1 |
| | | |||||
* | | New API call for signatures. | Daniel A. Nagy | 2015-05-08 | 2 | -0/+16 |
|/ | |||||
* | Merge pull request #833 from ethersphere/frontier/solidity | Jeffrey Wilcke | 2015-05-08 | 4 | -16/+160 |
|\ | | | | | solidity compiler and contract metadocs integration | ||||
| * | solidity compiler and contract metadocs integration | zelig | 2015-05-07 | 4 | -16/+160 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | | rpc: eth_transactionFilter => eth_newPendingTransactionFilter | obscuren | 2015-05-07 | 1 | -1/+1 |
| | | |||||
* | | xeth, core, event/filter, rpc: new block and transaction filters | obscuren | 2015-05-07 | 2 | -7/+27 |
|/ | |||||
* | xeth, rpc: added nonce setting through RPC and xeth transact | obscuren | 2015-05-07 | 2 | -1/+17 |
| | |||||
* | setTimeout and sendAsync implemented | zsfelfoldi | 2015-05-06 | 1 | -22/+47 |
| | | | | added and eval queue for serializing JSRE vm execution | ||||
* | Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop | obscuren | 2015-04-28 | 3 | -34/+73 |
|\ | | | | | | | | | Conflicts: rpc/api.go | ||||
| * | rpc, xeth: finish cleaning up xeth | Péter Szilágyi | 2015-04-28 | 1 | -5/+8 |
| | | |||||
| * | rpc: use nil topic wildcards instead of "" | Péter Szilágyi | 2015-04-28 | 1 | -1/+1 |
| | | |||||
| * | rpc, ui/qt/qwhisper, whisper, xeth: introduce complex topic filters | Péter Szilágyi | 2015-04-28 | 3 | -23/+56 |
| | | |||||
| * | rpc, whisper, xeth: fix RPC message retrieval data race | Péter Szilágyi | 2015-04-28 | 1 | -1/+1 |
| | | |||||
| * | rpc, whisper, xeth: polish whisper RPC interface | Péter Szilágyi | 2015-04-28 | 1 | -7/+10 |
| | | |||||
* | | eth, rpc, xeth: ext_hanhrate => eth_hashrate | obscuren | 2015-04-28 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'develop' of https://github.com/kobigurk/go-ethereum into ↵ | obscuren | 2015-04-28 | 1 | -0/+2 |
|\ \ | |/ |/| | | | kobigurk-develop | ||||
| * | move eth_hashrate to ext | Kobi Gurkan | 2015-04-21 | 1 | -2/+2 |
| | | |||||
| * | uses newHexNum for eth_hashrate | Kobi Gurkan | 2015-04-21 | 1 | -1/+1 |
| | | |||||
| * | adds eth_hashrate RPC method | Kobi Gurkan | 2015-04-21 | 1 | -0/+2 |
| | | |||||
* | | Return Gas Price not Gas | Taylor Gerring | 2015-04-28 | 1 | -2/+2 |
| | | | | | | | | And output as quantity, not data | ||||
* | | Remove old logger from RPC pkg | Taylor Gerring | 2015-04-27 | 2 | -4/+3 |
| | | |||||
* | | Merge pull request #786 from tgerring/issue739 | Jeffrey Wilcke | 2015-04-23 | 1 | -1/+5 |
|\ \ | | | | | | | Empty Call response should return 0x instead of 0x00. Closes #739 | ||||
| * | | Handle bug in parent call response | Taylor Gerring | 2015-04-23 | 1 | -1/+5 |
| | | | |||||
* | | | Merge pull request #783 from tgerring/issue777 | Jeffrey Wilcke | 2015-04-23 | 2 | -11/+61 |
|\ \ \ | | | | | | | | | Issue 777 | ||||
| * | | | Tests for magic words | Taylor Gerring | 2015-04-23 | 1 | -0/+35 |
| | | | | |||||
| * | | | Accept num or hex as index | Taylor Gerring | 2015-04-23 | 2 | -5/+5 |
| | | | | |||||
| * | | | Update eth_getBlockByNumber to accept words | Taylor Gerring | 2015-04-23 | 2 | -6/+21 |
| |/ / | |||||
* / / | Rename eth_Version to eth_protocolVersion. Closes #737 | Taylor Gerring | 2015-04-23 | 1 | -1/+1 |
|/ / | |||||
* / | Treat hexnums as big.Int instead of int64 | Taylor Gerring | 2015-04-21 | 1 | -41/+46 |
|/ | |||||
* | Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop | obscuren | 2015-04-21 | 1 | -6/+0 |
|\ | |||||
| * | fix for: Please remove the "minGasPrice" from block returns #754 | Andy | 2015-04-21 | 1 | -6/+0 |
| | | |||||
* | | core/rpc: fix for null entries in log filters. Closes #725 | obscuren | 2015-04-21 | 1 | -0/+4 |
|/ | | | | | | 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. | ||||
* | Merge pull request #734 from bas-vk/issue-729 | Jeffrey Wilcke | 2015-04-21 | 2 | -4/+120 |
|\ | | | | | admin.StopRPC added to console | ||||
| * | Don't export types/functions | Bas van Kervel | 2015-04-19 | 2 | -16/+16 |
| | | |||||
| * | Replaced channel pointer field with non pointer channel | Bas van Kervel | 2015-04-19 | 2 | -11/+14 |
| | | |||||
| * | Stop accepted and alive connections (http keep-alive) when the rpc service ↵ | Bas van Kervel | 2015-04-17 | 2 | -38/+67 |
| | | | | | | | | is stopped |