aboutsummaryrefslogtreecommitdiffstats
path: root/internal/web3ext
Commit message (Collapse)AuthorAgeFilesLines
* internal/web3ext: add eth.getProof (#18052)Ryan Schneider2018-11-081-0/+6
|
* core/vm: faster create/create2 (#17806)Martin Holst Swende2018-10-041-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | * core/vm/runtim: benchmark create/create2 * core/vm: do less hashing in CREATE2 * core/vm: avoid storing jumpdest analysis for initcode * core/vm: avoid unneccesary lookups, remove unused fields * core/vm: go formatting tests * core/vm: save jumpdest analysis locally * core/vm: use common.Hash instead of nil, fix review comments * core/vm: removed type destinations * core/vm: correct check for empty hash * eth: more elegant api_tracer * core/vm: address review concerns
* internal/ethapi: add eth_chainId method (#17617)HackyMiner2018-09-301-0/+5
| | | This implements EIP-695.
* cmd, eth, miner: make recommit configurable (#17444)gary rong2018-08-221-0/+5
| | | | | | | | | | | | * cmd, eth, miner: make recommit configurable * cmd, eth, les, miner: polish a bit * miner: filter duplicate sealing work * cmd: remove uncessary conversion * miner: avoid microptimization in favor of cleaner code
* Merge pull request #16333 from shazow/addremovetrustedpeerFelföldi Zsolt2018-08-061-0/+10
|\ | | | | rpc: Add admin_addTrustedPeer and admin_removeTrustedPeer.
| * rpc: Add admin_addTrustedPeer and admin_removeTrustedPeer.Andrey Petrov2018-06-221-0/+10
| | | | | | | | | | | | | | | | These RPC calls are analogous to Parity's parity_addReservedPeer and parity_removeReservedPeer. They are useful for adjusting the trusted peer set during runtime, without requiring restarting the server.
* | consensus/ethash: move remote agent logic to ethash internal (#15853)gary rong2018-08-031-0/+29
|/ | | | | | | | | | | | | | | | | | | | | | | | | | * consensus/ethash: start remote ggoroutine to handle remote mining * consensus/ethash: expose remote miner api * consensus/ethash: expose submitHashrate api * miner, ethash: push empty block to sealer without waiting execution * consensus, internal: add getHashrate API for ethash * consensus: add three method for consensus interface * miner: expose consensus engine running status to miner * eth, miner: specify etherbase when miner created * miner: commit new work when consensus engine is started * consensus, miner: fix some logics * all: delete useless interfaces * consensus: polish a bit
* internal/web3ext: fix method name for enabling mutex profiling (#16964)Ryan Schneider2018-06-131-2/+2
|
* internal/debug: add support for mutex profiles (#16230)Felix Lange2018-03-031-0/+15
|
* ethapi: add personal.signTransaction (#15971)Martin Holst Swende2018-01-271-0/+6
| | | | | | | | * ethapi: add personal.signTransaction * ethapi: refactor to minimize duplicate code * ethapi: make nonce,gas,gasPrice obligatory in signTransaction
* cmd, core, eth/tracers: support fancier js tracing (#15516)Péter Szilágyi2017-12-211-20/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * cmd, core, eth/tracers: support fancier js tracing * eth, internal/web3ext: rework trace API, concurrency, chain tracing * eth/tracers: add three more JavaScript tracers * eth/tracers, vendor: swap ottovm to duktape for tracing * core, eth, internal: finalize call tracer and needed extras * eth, tests: prestate tracer, call test suite, rewinding * vendor: fix windows builds for tracer js engine * vendor: temporary duktape fix * eth/tracers: fix up 4byte and evmdis tracer * vendor: pull in latest duktape with my upstream fixes * eth: fix some review comments * eth: rename rewind to reexec to make it more obvious * core/vm: terminate tracing using defers
* eth, internal: Implement getModifiedAccountsBy(Hash|Number) using trie diffs ↵Nick Johnson2017-11-201-0/+12
| | | | | | | | | | | | (#15512) * eth, internal: Implement using trie diffs * eth, internal: Changes in response to review * eth: More fixes to getModifiedAccountsBy* * eth: minor polishes on error capitalization
* internal/web3ext: make whisper v5 methods work (#15111)Guillaume Ballet2017-10-061-103/+0
|
* internal/debug: add debug_setGCPercentFelix Lange2017-09-111-0/+5
|
* internal/debug: add debug_freeOSMemory (#15122)Felix Lange2017-09-111-71/+63
|
* accounts, console, internal: support trezor hardware walletPéter Szilágyi2017-08-091-0/+5
|
* internal/web3ext: fix debug.traceBlockFromFile wrapper (#14774)Daniel Sloof2017-07-101-2/+2
| | | | | As stated in the documentation, this method should be called traceBlockFromFile and not traceBlockByFile. Previously this would result in a 'The method ... does not exist/is not available' error.
* whisperv5: integrate whisper and add whisper RPC simulatorBas van Kervel2017-06-151-26/+36
|
* whisper: switching to v5 + minor refactoring (#14387)gluk2562017-04-281-1/+100
|
* eth: add debug_storageRangeAtFelix Lange2017-04-251-0/+5
|
* cmd/utils, node: remove unused solc references and improve RPC config (#14324)bas-vk2017-04-131-5/+0
| | | | | Currently http cors and websocket origins are a comma separated string in the config object. These are replaced with string arrays that are more expressive in case of a config file.
* consensus/clique, internal/web3ext: support hash based API queries (#14321)Péter Szilágyi2017-04-121-2/+10
| | | | | | * consensus/clique, internal/web3ext: support hash based API queries * consensus/clique: make RPC return types public
* consensus/clique: Proof of Authority (#3753)Péter Szilágyi2017-04-101-0/+41
| | | | This PR is a prototype implementation of plugable consensus engines and the Clique PoA protocol ethereum/EIPs#225
* swarm/api: improve FUSE build constraints, logging and APIs (#3818)Felix Lange2017-03-311-24/+19
| | | | | | | | | | | | | | | | | | | | * swarm/api: fix build/tests on unsupported platforms Skip FUSE tests if FUSE is unavailable and change build constraints so the 'lesser' platforms aren't mentioned explicitly. The test are compiled on all platforms to prevent regressions in _fallback.go Also gofmt -w -s because why not. * internal/web3ext: fix swarmfs wrappers Remove inputFormatter specifications so users get an error when passing the wrong number of arguments. * swarm/api: improve FUSE-related logging and APIs The API now returns JSON objects instead of strings. Log messages for invalid arguments are removed.
* swarm/api: support mounting manifests via FUSE (#3690)Zahoor Mohamed2017-03-231-0/+29
|
* all: finish integrating Go ethash, delete C++ vendorPéter Szilágyi2017-03-091-14/+2
|
* core, eth, internal: Added `debug_getBadBlocks()` method (#3654)Martin Holst Swende2017-02-141-1/+6
| | | | | | | | | | | | | | | | * core,eth,internal: Added `debug_getBadBlocks()` method When bad blocks are discovered, these are stored within geth. An RPC-endpoint makes them availablewithin the `debug` namespace. This feature makes it easier to discover network forks. ``` * core, api: go format + docs * core/blockchain: Documentation, fix minor nitpick * core: fix failing blockchain test
* accounts, cmd, eth, internal, miner, node: wallets and HD APIsPéter Szilágyi2017-02-131-0/+12
|
* console, internal/web3ext: remove bzz and ens extensions (#3602)Felix Lange2017-01-251-97/+0
| | | | | web3.js includes bzz methods and throws an error when the extension module is reregistered. The ENS RPC API is deprecated and not exposed by anything.
* Merge pull request #3579 from bas-vk/natspecPéter Szilágyi2017-01-171-6/+0
|\ | | | | cmd,eth,les,internal: remove natspec support
| * cmd,eth,les,internal: remove natspec supportBas van Kervel2017-01-171-6/+0
| |
* | cmd/geth, core: add support for recording SHA3 preimages (#3543)Nick Johnson2017-01-171-0/+6
|/
* internal: update web3.js to 0.18.1, embed deps with go-bindata (#3545)Péter Szilágyi2017-01-131-6/+0
|
* cmd/bzzd: swarm daemon fixes (#3359)Viktor Trón2016-11-281-14/+2
| | | | | | | | | | | | * cmd/bzzd: add missing p2p/discovery flags * cmd/bzzd: fix two bugs crashing bzzd if bootnodes flag given * cmd/bzzd: make no swap default, renamed flag bzznoswap->bzzswap * internal/web3ext: correct methods for bzz IPC module * cmd/bzzd: ethapi param not mandatory. Warning if no blockchain * cmd/bzzd: correct default IPC modules in help string * cmd/utils: fix help description for networkId - add Ropsten * cmd/bzz, swarm/api, swarm/network: add swarm networkId flag * cmd/bzzd: change nosync flag to sync and BootTFlag
* cmd/utils, internal/web3ext: removed httpGetJeffrey Wilcke2016-11-251-5/+0
|
* internal/web3ext: remove registrar-related extensionsFelix Lange2016-11-251-30/+0
| | | | (cherry picked from commit d54ad55c6079ae6eab93d7f34ce5c4ec829f8e5b)
* internal/ethapi: add personal_sign and fix eth_sign to hash message (#2940)bas-vk2016-10-291-1/+12
| | | | | | | | | | | | | | | | | | | | This commit includes several API changes: - The behavior of eth_sign is changed. It now accepts an arbitrary message, prepends the well-known string \x19Ethereum Signed Message:\n<length of message> hashes the result using keccak256 and calculates the signature of the hash. This breaks backwards compatability! - personal_sign(hash, address [, password]) is added. It has the same semantics as eth_sign but also accepts a password. The private key used to sign the hash is temporarily unlocked in the scope of the request. - personal_recover(message, signature) is added and returns the address for the account that created a signature.
* internal/ethapi: add debug.chaindbCompactFelix Lange2016-10-201-0/+4
|
* internal/ethapi, internal/web3ext: adds raw tx retrieval methodsKobi Gurkan2016-10-101-0/+13
|
* swarm: plan bee for content storage and distribution on web3ΞTHΞЯSPHΞЯΞ2016-08-311-9/+151
| | | | | | | | | | | | | | | | | | | | | | | This change imports the Swarm protocol codebase. Compared to the 'swarm' branch, a few mostly cosmetic changes had to be made: * The various redundant log message prefixes are gone. * All files now have LGPLv3 license headers. * Minor code changes were needed to please go vet and make the tests pass on Windows. * Further changes were required to adapt to the go-ethereum develop branch and its new Go APIs. Some code has not (yet) been brought over: * swarm/cmd/bzzhash: will reappear as cmd/bzzhash later * swarm/cmd/bzzup.sh: will be reimplemented in cmd/bzzup * swarm/cmd/makegenesis: will reappear somehow * swarm/examples/album: will move to a separate repository * swarm/examples/filemanager: ditto * swarm/examples/files: will not be merged * swarm/test/*: will not be merged * swarm/services/swear: will reappear as contracts/swear when needed
* core/vm, eth: Add support for javascript trace functionsNick Johnson2016-08-231-1/+2
|
* Merge pull request #2740 from Firescar96/removepeerFelix Lange2016-07-291-0/+5
|\ | | | | node, p2p, internal: Add ability to remove peers via admin interface
| * node, p2p, internal: Add ability to remove peers via admin interfaceFirescar962016-07-151-0/+5
| |
* | eth/api: rename signAndSendTransaction to sendTransactionBas van Kervel2016-07-221-2/+2
|/
* web3ext: Remove old natspec Admin_JS stubsJustin Clark-Casey2016-06-241-15/+0
| | | | This stops them from showing up on the javascript console.
* eth: add new RPC method (personal.) SignAndSendTransactionBas van Kervel2016-05-201-0/+6
|
* cmd/geth, internal/web3ext, rpc: surface rpc module, fix shh, fix minerPéter Szilágyi2016-05-111-116/+131
|
* internal/debug: also rename debug_startTrace to debug_startGoTraceFelix Lange2016-05-061-4/+4
| | | | This was missing from the previous change.
* internal/debug: rename debug_trace to debug_goTraceFelix Lange2016-05-061-2/+2
| | | | Reduces confusion with EVM execution tracing methods.
* eth: add personal_importRawKey for runtime private key importAles Katona2016-04-281-6/+21
|
* rpc: move web3.js extensions to internal/web3extFelix Lange2016-04-151-0/+463