| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
Demo of the issue: https://play.golang.org/p/EeTLFfppqC
|
|\
| |
| | |
swarm/storage: remove panic on invalid chunk
|
| | |
|
| |
| |
| |
| |
| |
| | |
* Makefile: add make swarm command
* Makefile: minor code formatting polishes
|
|/
|
| |
README: change heading to "Go Ethereum"
|
| |
|
| |
|
|\
| |
| | |
consensus/clique: choose valid votes
|
| | |
|
| | |
|
|\ \
| | |
| | | |
eth: gracefully error if database cannot be opened
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
|/| | |
travis.yml, cmd/swarm: fix Travis CI build
|
| | | |
|
|/ / |
|
|\ \
| | |
| | | |
core: add testcase for txpool
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
cmd/geth: corrently init gas price for CLI CPU mining
|
| |/ / |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* eth/downloader: separate state sync from queue
Scheduling of state node downloads hogged the downloader queue lock when
new requests were scheduled. This caused timeouts for other requests.
With this change, state sync is fully independent of all other downloads
and doesn't involve the queue at all.
State sync is started and checked on in processContent. This is slightly
awkward because processContent doesn't have a select loop. Instead, the
queue is closed by an auxiliary goroutine when state sync fails. We
tried several alternatives to this but settled on the current approach
because it's the least amount of change overall.
Handling of the pivot block has changed slightly: the queue previously
prevented import of pivot block receipts before the state of the pivot
block was available. In this commit, the receipt will be imported before
the state. This causes an annoyance where the pivot block is committed
as fast block head even when state downloads fail. Stay tuned for more
updates in this area ;)
* eth/downloader: remove cancelTimeout channel
* eth/downloader: retry state requests on timeout
* eth/downloader: improve comment
* eth/downloader: mark peers idle when state sync is done
* eth/downloader: move pivot block splitting to processContent
This change also ensures that pivot block receipts aren't imported
before the pivot block itself.
* eth/downloader: limit state node retries
* eth/downloader: improve state node error handling and retry check
* eth/downloader: remove maxStateNodeRetries
It fails the sync too much.
* eth/downloader: remove last use of cancelCh in statesync.go
Fixes TestDeliverHeadersHang*Fast and (hopefully)
the weird cancellation behaviour at the end of fast sync.
* eth/downloader: fix leak in runStateSync
* eth/downloader: don't run processFullSyncContent in LightSync mode
* eth/downloader: improve comments
* eth/downloader: fix vet, megacheck
* eth/downloader: remove unrequested tasks anyway
* eth/downloader, trie: various polishes around duplicate items
This commit explicitly tracks duplicate and unexpected state
delieveries done against a trie Sync structure, also adding
there to import info logs.
The commit moves the db batch used to commit trie changes one
level deeper so its flushed after every node insertion. This
is needed to avoid a lot of duplicate retrievals caused by
inconsistencies between Sync internals and database. A better
approach is to track not-yet-written states in trie.Sync and
flush on commit, but I'm focuing on correctness first now.
The commit fixes a regression around pivot block fail count.
The counter previously was reset to 1 if and only if a sync
cycle progressed (inserted at least 1 entry to the database).
The current code reset it already if a node was delivered,
which is not stong enough, because unless it ends up written
to disk, an attacker can just loop and attack ad infinitum.
The commit also fixes a regression around state deliveries
and timeouts. The old downloader tracked if a delivery is
stale (none of the deliveries were requestedt), in which
case it didn't mark the node idle and did not send further
requests, since it signals a past timeout. The current code
did mark it idle even on stale deliveries, which eventually
caused two requests to be in flight at the same time, making
the deliveries always stale and mass duplicating retrievals
between multiple peers.
* eth/downloader: fix state request leak
This commit fixes the hang seen sometimes while doing the state
sync. The cause of the hang was a rare combination of events:
request state data from peer, peer drops and reconnects almost
immediately. This caused a new download task to be assigned to
the peer, overwriting the old one still waiting for a timeout,
which in turned leaked the requests out, never to be retried.
The fix is to ensure that a task assignment moves any pending
one back into the retry queue.
The commit also fixes a regression with peer dropping due to
stalls. The current code considered a peer stalling if they
timed out delivering 1 item. However, the downloader never
requests only one, the minimum is 2 (attempt to fine tune
estimated latency/bandwidth). The fix is simply to drop if
a timeout is detected at 2 items.
Apart from the above bugfixes, the commit contains some code
polishes I made while debugging the hang.
* core, eth, trie: support batched trie sync db writes
* trie: rename SyncMemCache to syncMemBatch
|
|\ \
| | |
| | | |
consensus/clique: fix typo and don't need to add snapshot into recents again
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
swarm/fuse: simplify externalUnmount, use subtests
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The code looked for /usr/bin/diskutil on darwin, but it's actually
located in /usr/sbin. Fix that by not specifying the absolute path.
Also remove weird timeout construction and extra whitespace.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This commit does various code refactorings:
- generalizes and moves the request retrieval/timeout/resend logic out of LesOdr
(will be used by a subsequent PR)
- reworks the peer management logic so that all services can register with
peerSet to get notified about added/dropped peers (also gets rid of the ugly
getAllPeers callback in requestDistributor)
- moves peerSet, LesOdr, requestDistributor and retrieveManager initialization
out of ProtocolManager because I believe they do not really belong there and the
whole init process was ugly and ad-hoc
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
As per #14661 TransactionByHash always returns false for pending.
This uses blockNumber rather than blockHash to ensure that it returns
the correct value for pending and will not suffer side-effects if
eth_getTransactionByHash is fixed in future.
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* ethdb: remove Set
Set deadlocks immediately and isn't part of the Database interface.
* trie: add Err to Iterator
This is useful for testing because the underlying NodeIterator doesn't
need to be kept in a separate variable just to get the error.
* trie: add LeafKey to iterator, panic when not at leaf
LeafKey is useful for callers that can't interpret Path.
* trie: retry failed seek/peek in iterator Next
Instead of failing iteration irrecoverably, make it so Next retries the
pending seek or peek every time.
Smaller changes in this commit make this easier to test:
* The iterator previously returned from Next on encountering a hash
node. This caused it to visit the same path twice.
* Path returned nibbles with terminator symbol for valueNode attached
to fullNode, but removed it for valueNode attached to shortNode. Now
the terminator is always present. This makes Path unique to each node
and simplifies Leaf.
* trie: add Path to MissingNodeError
The light client trie iterator needs to know the path of the node that's
missing so it can retrieve a proof for it. NodeIterator.Path is not
sufficient because it is updated when the node is resolved and actually
visited by the iterator.
Also remove unused fields. They were added a long time ago before we
knew which fields would be needed for the light client.
|
|\ \
| | |
| | | |
cmd/geth: fixed a minor typo in the comments
|
|/ / |
|
| | |
|
|\ \
| | |
| | | |
core/vm: improve opByte
|
| | | |
|
| | |
| | |
| | |
| | | |
endianness
|
| |/ |
|
|\ \
| | |
| | | |
mobile: use EIP155 signer for determining sender
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
|/| | |
consensus/ethash, cmd/geth: Fix `makedag` epoch
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
`geth makedag <blocknumber> <path>` was creating DAGs for
`<blocknumber>/<epoch_length> + 1`, hence
it was impossible to create an epoch 0 DAG.
This fixes the calculations in `consensus/ethash/ethash.go` for
`MakeDataset` and `MakeCache`, and applies `gofmt`.
|
| | |
|
| |
| |
| | |
Fixes #14586
|
| |
| |
| |
| |
| |
| | |
The error returned by client.Upload was previously being ignored due to becoming
out of scope outside the if statement. This has been fixed by instead defining a
function which returns the hash and error (rather than trying to set the hash in
each branch of the if statement).
|
|\ \
| | |
| | | |
core: Fix VM error logging
|
| |/
| |
| |
| | |
Signed-off-by: Lewis Marshall <lewis@lmars.net>
|
|/ |
|
| |
|
| |
|
|\
| |
| | |
core/vm: Use a bitmap instead of a map for jumpdest analysis
|
|/
|
|
| |
t push --force
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This PR adds a Swarm development environment which can be run in a
Docker container and provides scripts for building binaries and running
Swarm clusters.
|
| |
|
| |
|
|\
| |
| | |
accounts/keystore, crypto: don't enforce key checks on existing keyfiles
|
| | |
|
|\ \
| | |
| | | |
core: reduce transaction reorganization overhead
|
| | | |
|
| |/ |
|
|\ \
| | |
| | | |
ethstats: reduce ethstats traffic by trottling reports
|
| |/ |
|
|\ \
| |/
|/| |
cotnainers/docker: fix the legacy alpine image before dropping
|
|/ |
|
| |
|
| |
|
|\
| |
| | |
internal/ethapi: add mutex around signing + nonce assignment
|
| |
| |
| |
| |
| | |
This prevents concurrent assignment of identical nonces when automatic
assignment is used.
|
|\ \
| | |
| | | |
cmd/puppeth: fix improper key validation for remotes
|
| | | |
|
|\ \ \
| |/ /
|/| | |
core: check for gas limit exceeding txs too on new block
|
| | | |
|
|\ \ \
| | | |
| | | | |
consensus/clique: cache block signatures for fast checks
|
| |/ / |
|
|\ \ \
| |/ /
|/| | |
ethstats: don't report transaction content, only hash
|
|/ / |
|
|\ \
| | |
| | | |
cmd, core, eth: configurable txpool parameters
|
| | | |
|
|\ \ \
| | | |
| | | | |
internal/ethapi: fix tx nonces in pool inspect/content
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
eth: update default gas price when not mining too
|
| |/ / / |
|
|\ \ \ \
| |/ / /
|/| | | |
eth: don't import propagated blocks during fastsync
|
|/ / / |
|
|\ \ \
| |/ /
|/| | |
Improved Dockerfile?
|
| | | |
|
|/ / |
|
|\ \
| | |
| | | |
travis, appveyor: bump to Go 1.8.3, Android NDK 14b
|
| |/ |
|
|\ \
| |/
|/| |
core: fix various golint warnings and errors
|
| | |
|
|/
|
|
|
|
|
|
| |
1. fix typos
2. methods recevier of struct should be same
3. comments improve
(cherry picked from commit 1ba979539582a00b7fd1a7c8a37a6852e59eac0d)
|
|\
| |
| | |
Rewrite templates for (sub)commands help section
|
| | |
|
|\ \
| | |
| | | |
core/vm: allocate stack to 1024
|
| |/
| |
| |
| |
| | |
Pre allocate the stack to 1024 optimising stack pushing, reducing calls
to runtime.makeslice and runtime.mallocgc
|
|/ |
|
|\
| |
| | |
Enforce 256 bit keys on raw import, support raw mobile imports
|
| | |
|
| | |
|
|\ \
| | |
| | | |
consensus, core/*, params: metropolis preparation refactor
|
| | | |
|
| | |
| | |
| | |
| | | |
Also add the package to the license tool ignore list.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Byte padding function should return the given slice if the length is
smaller or equal rather than *only* smaller than.
This fix improves almost all EVM push operations.
|
| | |
| | |
| | |
| | |
| | | |
Improve the duplication method of the stack to reuse big ints by passing
in an existing integer pool.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Improved push instructions by removing unnecessary big int allocations
and by making it int instead of big.Int
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Add the object to the list of destructed objects during a selfdestruct /
suicide operation and also remove it from the list once the journal
reverts.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This commit is a preparation for the upcoming metropolis hardfork. It
prepares the state, core and vm packages such that integration with
metropolis becomes less of a hassle.
* Difficulty calculation requires header instead of individual
parameters
* statedb.StartRecord renamed to statedb.Prepare and added Finalise
method required by metropolis, which removes unwanted accounts from
the state (i.e. selfdestruct)
* State keeps record of destructed objects (in addition to dirty
objects)
* core/vm pre-compiles may now return errors
* core/vm pre-compiles gas check now take the full byte slice as argument
instead of just the size
* core/vm now keeps several hard-fork instruction tables instead of a
single instruction table and removes the need for hard-fork checks in
the instructions
* core/vm contains a empty restruction function which is added in
preparation of metropolis write-only mode operations
* Adds the bn256 curve
* Adds and sets the metropolis chain config block parameters (2^64-1)
|
|\ \ \
| | | |
| | | | |
cmd/faucet: fix a few typos
|
|/ / / |
|
|\ \ \
| |_|/
|/| | |
cmd/geth: reintroduce wallet import subcommand
|
|/ / |
|
|\ \
| | |
| | | |
mobile: manage FilterQuery enabling contract events subscription
|
| | | |
|
|/ / |
|
| |
| |
| | |
Signed-off-by: Lewis Marshall <lewis@lmars.net>
|
| |
| |
| |
| |
| | |
Fixes #14474.
Signed-off-by: Lewis Marshall <lewis@lmars.net>
|
| | |
|
| | |
|
|/
|
|
|
|
|
| |
More context in the bug This solves the problems of transactions being
submitted simultaneously, and getting the same nonce, due to the gap (due to
signing) between nonce-issuance and nonce-update. With this PR, a lock will
need to be acquired whenever a nonce is used, and released when the transaction
is submitted or errors out.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
execQueue used an atomic counter to track whether the queue had been
closed, but the checking the counter didn't happen because the queue was
blocked on its channel.
Fix it by using a condition variable instead of sync/atomic. I tried an
implementation based on channels first, but it was hard to make it
reliable.
quit now waits for the queue loop to exit.
|
| |
|
|
|
|
|
|
|
| |
Previously, resolve errors were being swallowed and the returned error
was a generic "not a content hash" which isn't helpful.
This updates the Resolve function to fail fast rather than only
returning an error at the end, and also adds test coverage.
|
| |
|
|
|
|
|
|
| |
CentOS has been added as a multi-machine option to the Vagrant script.
Ubuntu is still the default option. For starting the CentOS machine, use:
vagrant up centos
|
|\
| |
| | |
mobile: add toString & rlp/json encoding for protocol types
|
|/ |
|
|\
| |
| | |
cmd, node: support different bootnodes, fix default light port
|
|/ |
|
| |
|
|\
| |
| | |
core: fix processing regression during receipt import
|
| | |
|
|\ \
| |/
|/| |
common/bitutil: added data compression algorithm
|
| | |
|
| | |
|
| | |
|
|\ \
| |/
|/| |
travis: adapt build script to new travis VM settings
|
|/ |
|
|\
| |
| | |
common/bitutil, consensus/ethash: reusable bitutil package
|
|/ |
|
| |
|
| |
|
|\
| |
| | |
cmd, core, params: add --rinkeby flag for fast connectivity
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* core: Fix for consensus test gasLimit > 2^63-1 https://github.com/ethereum/tests/blob/develop/BlockchainTests/bcInvalidHeaderTest.json#L238
* core: fix testcase for uncle gasUsage > gasLimit : https://github.com/ethereum/tests/blob/develop/BlockchainTests/EIP150/bcUncleHeaderValiditiy.json#L986
* math/big: rename TTM63m1 -> MaxBig63, + go fmt
* core: documentation
|
|\ \
| | |
| | | |
Migrate remaining flags/command to new style
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| |_|/
|/| | |
cmd/faucet, cmd/puppeth: support multi-tiered faucet
|
| | | |
|
|/ / |
|
|\ \
| |/
|/| |
build: wnode added to the build configuration
|
| | |
|
|\ \
| | |
| | | |
cmd/geth, cmd/utils: init/removedb on light/full dbs simultaneously
|
|/ / |
|
|\ \
| | |
| | | |
consensus/clique: fix overflow on recent signer check around genesis
|
| |/ |
|
|\ \
| |/
|/| |
rpc: support subscriptions under custom namespaces
|
| | |
|
| |
| |
| | |
README: add config to genesis.json
|
| | |
|
|\ \
| | |
| | | |
consensus/ethash: fix a timestamp update race
|
| | | |
|
|\ \ \
| |/ /
|/| | |
eth/downloader: fix a potential issue against future refactors
|
| | | |
|
|\ \ \
| | | |
| | | | |
console: avoid float64 when remarshaling parameters
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
With Go 1.7, encoding/json marshals float64 using scientific
notation ("10e+6"), but Go's int and *big.Int decoders don't accept such
numbers. This change disables use of float64 to avoid the problem.
|
|\ \ \ \
| |_|/ /
|/| | | |
rpc: disable CORS if user has not specified a custom config
|
|/ / / |
|
|\ \ \
| |/ /
|/| | |
cmd/geth: reorganise account/wallet command/flags
|
|/ / |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* whisper: salt removed from AES encryption
* whisper: padding format updated
* whisper: padding test added
* whisper: padding refactored, tests fixed
* whisper: padding test updated
* whisper: wnode bugfix
* whisper: send/receive protocol updated
* whisper: minor update
* whisper: bugfix in test
* whisper: updated parameter names and comments
* whisper: functions renamed
* whisper: minor refactoring
|
|\ \
| | |
| | | |
node: fixes deadlock on Wait()
|
| |/ |
|
|\ \
| |/
|/| |
cmd, eth, les, mobile: make networkid uint64 everywhere
|
|/ |
|
|\
| |
| | |
eth: add debug_storageRangeAt
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The 'step' method is split into two parts, 'peek' and 'push'. peek
returns the next state but doesn't make it current.
The end of iteration was previously tracked by setting 'trie' to nil.
End of iteration is now tracked using the 'iteratorEnd' error, which is
slightly cleaner and requires less code.
|
| |
| |
| |
| |
| |
| |
| | |
Make it so each iterator has exactly one public constructor:
- NodeIterators can be created through a method.
- Iterators can be created through NewIterator on any NodeIterator.
|
| |
| |
| |
| |
| | |
'encode' and 'decode' are meaningless because the code deals with three
encodings. Document the encodings and give a name to each one.
|
| |
| |
| |
| |
| |
| | |
The key was constructed from nibbles, which isn't possible for all
nodes. Remove the only use of Key in LightTrie by always retrying with
the original key that was looked up.
|
|\ \
| | |
| | | |
cmd/bootnode: stop after generating/writing nodekey
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
* internal/ethapi: return empty arrays instead of null
* internal/ethapi: minor comments to avoid future regressions
|
|\ \ \
| |/ /
|/| | |
core, light: delete SplitStatTy, ChainSplitEvent (unused)
|
|/ / |
|
|\ \
| | |
| | | |
cmd/faucet: further user validations and bot protection
|
| | | |
|
| | | |
|
| | | |
|
| |/ |
|
|\ \
| | |
| | | |
cmd, node: add --nousb and node.Config.NoUSB to disable hw wallets
|
| | | |
|
|\ \ \
| |/ /
|/| | |
core: make genesis incompatibility error more explicit
|
|/ / |
|
|\ \
| |/
|/| |
rpc: improve BlockNumber unmarshal parsing
|
| | |
|
| | |
|
| | |
|
|\ \ |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
cmd/geth: update flag groups in the geth command usage
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
common/compiler: add metadata output for solc > 0.4.6
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Metadata is provided as JSON string, rather than as JSON object. This
ensures that we can decode to a set of bytes that will be consistent
with the swarm hash embedded in the code, without worrying about
ambiguities of spacing, ordering, or escaping.
|
|\ \ \ \
| |_|/ /
|/| | | |
build: bump launchpad builds to Go 1.8.1
|
| | | | |
|
| | | | |
|
|/ / /
| | |
| | | |
Fixes #3608
|
|\ \ \
| | | |
| | | | |
consensus/ethash: simplify concurrency in VerifyHeaders
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This change removes a convoluted use of sync/atomic from VerifyHeaders.
It also fixes the annoying error about future blocks.
|
| | | |
| | | |
| | | |
| | | | |
The genesis block doesn't have a valid ancestor.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
|\ \ \ \
| |/ / /
|/| | | |
cmd/rlpdump: support dumping only the first entity
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* p2p/discover, p2p/discv5: add marshaling methods to Node
* p2p/netutil: make Netlist decodable from TOML
* common/math: encode nil HexOrDecimal256 as 0x0
* cmd/geth: add --config file flag
* cmd/geth: add missing license header
* eth: prettify Config again, fix tests
* eth: use gasprice.Config instead of duplicating its fields
* eth/gasprice: hide nil default from dumpconfig output
* cmd/geth: hide genesis block in dumpconfig output
* node: make tests compile
* console: fix tests
* cmd/geth: make TOML keys look exactly like Go struct fields
* p2p: use discovery by default
This makes the zero Config slightly more useful. It also fixes package
node tests because Node detects reuse of the datadir through the
NodeDatabase.
* cmd/geth: make ethstats URL settable through config file
* cmd/faucet: fix configuration
* cmd/geth: dedup attach tests
* eth: add comment for DefaultConfig
* eth: pass downloader.SyncMode in Config
This removes the FastSync, LightSync flags in favour of a more
general SyncMode flag.
* cmd/utils: remove jitvm flags
* cmd/utils: make mutually exclusive flag error prettier
It now reads:
Fatal: flags --dev, --testnet can't be used at the same time
* p2p: fix typo
* node: add DefaultConfig, use it for geth
* mobile: add missing NoDiscovery option
* cmd/utils: drop MakeNode
This exposed a couple of places that needed to be updated to use
node.DefaultConfig.
* node: fix typo
* eth: make fast sync the default mode
* cmd/utils: remove IPCApiFlag (unused)
* node: remove default IPC path
Set it in the frontends instead.
* cmd/geth: add --syncmode
* cmd/utils: make --ipcdisable and --ipcpath mutually exclusive
* cmd/utils: don't enable WS, HTTP when setting addr
* cmd/utils: fix --identity
|
|\ \ \ \
| | | | |
| | | | | |
cmd/puppeth: format dashboard html, update syncmode flags
|
|/ / / / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* consensus, core, ethstats: use engine specific block beneficiary
* core, eth, les, miner: use explicit beneficiary during mining
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
* consensus/clique, internal/web3ext: support hash based API queries
* consensus/clique: make RPC return types public
|
|\ \ \
| | | |
| | | | |
internal/ethapi: Add support for fetching information about the current call in JS traces
|
| | | |
| | | |
| | | |
| | | | |
in JS traces
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Moved fuse related code in a new package, swarm/fuse
- Added write support
- Create new files
- Delete existing files
- Append to files (with limitations)
- More test coverage
|
| | | | |
|
| | | | |
|
| | | | |
|