| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
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.
|
|\
| |
| | |
Txpool localaccounts
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The commit reworks the transaction pool queue limitation tests
to cater for testing local accounts, also testing the nolocal flag.
In addition, it also fixes a panic if local transactions exceeded
the global queue allowance (no accounts left to drop from) and also
fixes queue eviction to operate on all accounts, not just the one
being updated.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Refactor downloader to use interfaces instead of callbacks
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| |_|/
|/| | |
params: remove redundant consts, disable metro on AllProtocolChanges
|
|/ / |
|
|\ \
| | |
| | | |
cmd/swarm: Exit if --ethapi is set
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
The previous attempt to use --ethapi as a fallback if --ens-api is not
set does not work because --ens-api has a default value, and also
setting --ens-api to "" is the suggested way to disable ENS lookups.
Signed-off-by: Lewis Marshall <lewis@lmars.net>
|
|\ \
| | |
| | | |
cmd/swarm: Support using Mainnet for resolving ENS names
|
| | |
| | |
| | |
| | | |
Signed-off-by: Lewis Marshall <lewis@lmars.net>
|
|\ \ \
| |_|/
|/| | |
Fix error when reporting numer of txs in imported blocks
|
|/ / |
|
|\ \
| | |
| | | |
core/vm: fix overflow in gas calculation formula
|
| | | |
|
| | | |
|
|/ / |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
With this commit, core/state's access to the underlying key/value database is
mediated through an interface. Database errors are tracked in StateDB and
returned by CommitTo or the new Error method.
Motivation for this change: We can remove the light client's duplicated copy of
core/state. The light client now supports node iteration, so tracing and storage
enumeration can work with the light client (not implemented in this commit).
|
|\ \
| | |
| | | |
common/hexutil: wrap errors in json.UnmarshalTypeError
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This adds type and struct field context to error messages.
Instead of "hex string of odd length" users will now see "json: cannot
unmarshal hex string of odd length into Go struct field SendTxArgs.from
of type common.Address".
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* accounts/abi: reorganizing package and some notes and a quick correction of name.
Signed-off-by: RJ Catalano <rj@monax.io>
get rid of some imports
Signed-off-by: RJ Catalano <rj@monax.io>
* accounts/abi: move file names
Signed-off-by: RJ Catalano <rj@monax.io>
* accounts/abi: fix boolean decode function
Signed-off-by: RJ Catalano <rj@monax.io>
* accounts/abi: fix for the array set and for creating a bool
Signed-off-by: RJ Catalano <rj@monax.io>
* accounts/abi: be very very very correct
Signed-off-by: RJ Catalano <rj@monax.io>
* accounts/abi: fix up error message and variable names
Signed-off-by: RJ Catalano <rj@monax.io>
* accounts/abi: take out unnecessary argument in pack method
Signed-off-by: RJ Catalano <rj@monax.io>
* accounts/abi: add bool unpack test and add a panic to readBool function
Signed-off-by: RJ Catalano <rj@monax.io>
* accounts/abi: fix panic message
Signed-off-by: RJ Catalano <rj@monax.io>
* accounts/abi: change from panic to basic error
Signed-off-by: RJ Catalano <rj@monax.io>
* accounts/abi: fix nil to false
Signed-off-by: RJ Catalano <rj@monax.io>
* accounts/abi: fill out type regex tests and fill with the correct type for integers
Signed-off-by: RJ Catalano <rj@monax.io>
* accounts/abi: move packNumbers into pack.go.
Signed-off-by: RJ Catalano <rj@monax.io>
* accounts/abi: separation of the testing suite into appropriately named files.
Signed-off-by: RJ Catalano <rj@monax.io>
* account/abi: change to hex string tests.
Signed-off-by: RJ Catalano <rj@monax.io>
* account/abi: fix up rest of tests to hex
Signed-off-by: RJ Catalano <rj@monax.io>
* accounts/abi: declare bool at the package level
Signed-off-by: RJ Catalano <rj@monax.io>
* accounts/abi: use errors package in the error file.
Signed-off-by: RJ Catalano <rj@monax.io>
* accounts/abi: fix ugly hack and fix error type declaration.
Signed-off-by: RJ Catalano <rj@monax.io>
|
| | | |
|
|\ \ \
| |_|/
|/| | |
cmd/puppeth: fix key reuse during faucet deploys
|
| | | |
|
|\ \ \
| | | |
| | | | |
whisperv5: integrate whisper and implement API
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
core: remove unused events
|
| | | | | |
|
| | | | |
| | | | |
| | | | | |
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.
|