| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Fixes #2201
(cherry picked from commit 26e72b2ccd728b00e08bd692bdd7241ff0bfe2cc)
|
|
|
|
|
|
|
|
|
| |
When a block is queried for retrieval we should add a check whether the
block falls within the frontier rules. If we'd always use `From`
retrieving transaction might fail. This PR temporarily changes
everything to `FromFrontier` (safe!).
This is a backport of c616391df2dda2c21b0a8eed03531a7d44669421
|
|
|
|
|
| |
This commit increases the artificial gas floor to 4712388
(cherry picked from commit f954a8b6660792cce6e4e44a204b01a2dac87d0d)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
selfish mining
Assuming the following scenario where a miner has 15% of all hashing
power and the ability to exert a moderate control over the network to
the point where if the attacker sees a message A, it can't stop A from
propagating, but what it **can** do is send a message B and ensure that
most nodes see B before A. The attacker can then selfish mine and
augment selfish mining strategy by giving his own blocks an advantage.
This change makes the time at which a block is received less relevant
and so the level of control an attacker has over the network no longer
makes a difference.
This change changes the current td algorithm `B_td > C_td` to the new
algorithm `B_td > C_td || B_td == C_td && rnd < 0.5`.
|
|
|
|
|
|
|
|
|
|
|
| |
* Removed some strange code that didn't apply state reverting properly
* Refactored code setting from vm & state transition to the executioner
* Updated tests
Conflicts:
common/registrar/ethreg/api.go
core/tx_pool.go
core/vm/jit_test.go
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
changes
* change gas cost for contract creating txs
* invalidate signature with s value greater than secp256k1 N / 2
* OOG contract creation if not enough gas to store code
* new difficulty adjustment algorithm
* new DELEGATECALL op code
Conflicts:
core/vm/environment.go
crypto/crypto.go
crypto/secp256k1/secp256.go
eth/api.go
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
larger-than-buffer packets
On Windows, UDPConn.ReadFrom returns an error for packets larger
than the receive buffer. The error is not marked temporary, causing
our loop to exit when the first oversized packet arrived. The fix
is to treat this particular error as temporary.
Fixes: #1579, #2087
Updates: #2082
Conflicts:
p2p/discover/udp_test.go
|
| |
|
|
|
|
|
| |
Conflicts:
p2p/rlpx.go
|
|
|
|
|
| |
Conflicts:
p2p/discover/udp_test.go
|
| |
|
|
|
|
| |
The s2 parameter was not actually written to the MAC.
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| | |
Conflicts:
VERSION
cmd/geth/main.go
|
| |\
| | |
| | | |
miner: bugfix where blockhash in receipts and logs is left empty
|
| | | |
|
| |\ \
| | | |
| | | | |
Update common test files
|
| | | | |
|
| |\ \ \
| | | | |
| | | | | |
rpc/api, xeth: added signTransaction method
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
SignTransaction creates a transaction but does submit it to the
network. SignTransaction returns a structure which includes the
transaction object details as well as the RLP encoded transaction that
could possibly be submitted by the SendRawTransaction method.
|
| |\ \ \ \
| | |_|/ /
| |/| | | |
Makefile: individual platforms, configurable Go runtime
|
| |/ / / |
|
| |\ \ \
| | |_|/
| |/| | |
eth/downloader: fetch data proportionally to peer capacity
|
| |/ / |
|
| |\ \
| | | |
| | | | |
cmd/geth, cmd/utils: removed legalese
|
| | | |
| | | |
| | | |
| | | | |
Removed the legalese confirmation dialog. This closes #1992
|
| |\ \ \
| | | | |
| | | | | |
core, eth, miner, xeth: clean up tx/receipt db accessors
|
| | |/ / |
|
| |\ \ \
| | |/ /
| |/| | |
eth/downloader: don't hang for spurious deliveries
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
State and receipt deliveries from a previous eth/62+ sync can hang if
the downloader has moved on to syncing with eth/61. Fix this by also
draining the eth/63 channels while waiting for eth/61 data.
A nicer solution would be to take care of the channels in a central
place, but that would involve a major rewrite.
|
| | | | |
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Unexpected deliveries could block indefinitely if they arrived at the
right time. The fix is to ensure that the cancellation channel is
always closed when the sync ends, unblocking any deliveries. Also remove
the atomic check for whether a sync is currently running because it
doesn't help and can be misleading.
Cancelling always seems to break the tests though. The downloader
spawned d.process whenever new data arrived, making it somewhat hard to
track when block processing was actually done. Fix this by running
d.process in a dedicated goroutine that is tied to the lifecycle of the
sync. d.process gets notified of new work by the queue instead of being
invoked all the time. This removes a ton of weird workaround code,
including a hairy use of atomic CAS.
|
| |\ \
| | | |
| | | | |
core, eth, rpc: split out block validator and state processor
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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).
|
| |\ \
| | | |
| | | | |
core/vm/runtime: added simple execution runtime
|
| | |/
| | |
| | |
| | |
| | |
| | | |
The runtime environment can be used for simple basic execution of
contract code without the requirement of setting up a full stack and
operates fully in memory.
|
| |\ \
| | | |
| | | | |
rpc/api: fix #1986, newIdentity autocomplete
|
| |/ / |
|
| |\ \
| | |/
| |/| |
crypto/secp256k1: verify recovery ID before calling libsecp256k1
|
| | |
| | |
| | |
| | |
| | |
| | | |
They cause compiler warnings for people who don't have these
directories. People with pkgsrc can add the directory through CGO_CFLAGS
instead.
|
| | | |
|
| |/
| |
| |
| |
| |
| |
| |
| | |
The C library treats the recovery ID as trusted input and crashes
the process for invalid values, so it needs to be verified before
calling into C. This will inhibit the crash in #1983.
Also remove VerifySignature because we don't use it.
|
| |\
| | |
| | | |
cmd/geth, cmd/utils: surface the light KDF flag to the CLI
|
| |/ |
|
| |\
| | |
| | | |
rpc/api: fix #1972 api regression (nil eth panic) in attach
|
| |/ |
|
| |\
| | |
| | | |
event/filter: fix data race in the test
|
| | | |
|
| |\ \
| | | |
| | | | |
eth: fix error casting regression during database open
|
| | | | |
|
| |\ \ \
| | | | |
| | | | | |
cmd/geth: fix recover command crash if no param is supplied
|
| | | |/
| | |/| |
|
| |\ \ \
| | | | |
| | | | | |
whisper: fix datarace in expiration test
|
| | |/ / |
|
| |\ \ \
| | | | |
| | | | | |
jsre: fix #1876, sleep too short on a slow test server
|
| | |/ / |
|
| |\ \ \
| | |/ /
| |/| | |
tests: fix data race in bad-block-report disabling during tests
|
| |/ / |
|
| |\ \
| | |/
| |/| |
eth/downloader: fix dysfunctional ignore list hidden by generic set
|
| | | |
|
| |\ \
| | |/
| |/| |
eth, p2p, rpc/api: polish protocol info gathering
|
| | | |
|
| |\ \
| | | |
| | | | |
accounts/abi: ABI fixes & added types
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Changed field `input` to new `inputs`. Addad Hash and Address as input
types.
Added bytes[N] and N validation
|
| |\ \ \
| | | | |
| | | | | |
Infinite loop in filters
|
| | | | | |
|
| | | | | |
|
| |\ \ \ \
| | | | | |
| | | | | | |
crypto/secp256k1: add C compiler flags for pkgsrc
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | | |
pkgsrc is a cross-platform package manager that also
supports OS X.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Conflicts:
VERSION
cmd/geth/main.go
|
| |/ / / / |
|
| |\ \ \ \
| | | | | |
| | | | | | |
miner: synchronise start / stop
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This PR fixes an issue where the remote worker was stopped twice and not
properly handled. This adds a synchronised running check to the start
and stop methods preventing closing of a channel more than once.
|
| |\ \ \ \
| | | | | |
| | | | | | |
eth: added new testnet peers
|
| | |/ / / |
|
| |\ \ \ \
| | | | | |
| | | | | | |
cmd/geth, cmd/utils, eth: group CLI flags by purpose
|
| | | | | | |
|
| |\ \ \ \ \
| | | | | | |
| | | | | | | |
Godeps: upgrade github.com/huin/goupnp
|
| | | | | | | |
|
| |/ / / / / |
|
| |\ \ \ \ \
| | |/ / / /
| |/| | | | |
Fix for xeth OOM issue
|
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| |\ \ \ \
| | | | | |
| | | | | | |
Argument parsing can lead to panic in rpc channel
|
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | | |
check argument type before parsing params
recover from panic in ipc channel
|
| |\ \ \ \
| | |/ / /
| |/| | | |
eth: don't block sync goroutines that short circuit
|
| | | | | |
|
| | |/ / |
|
| |\ \ \
| | |/ /
| |/| | |
cmd/utils, crypto: add --lightkdf flag for lighter KDF
|
| |/ / |
|
| |\ \
| | |/
| |/| |
makefile: fix evm ld flags, pass them to xgo too
|
| | | |
|
| |/ |
|
| |\
| | |
| | | |
rpc api: eth_getNatSpec
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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
|
| |\ \
| | | |
| | | | |
eth, xeth: fix GasPriceOracle goroutine leak
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
XEth.gpo was being initialized as needed. WithState copies the XEth
struct including the gpo field. If gpo was nil at the time of the copy
and Call or Transact were invoked on it, an additional GPO listenLoop
would be spawned.
Move the lazy initialization to GasPriceOracle instead so the same GPO
instance is shared among all created XEths.
Fixes #1317
Might help with #1930
|
| | |/
| |/| |
|
| | | |
|
| |\ \
| | | |
| | | | |
tests: update JSON files, add new wrappers
|
| | |/ |
|
| |\ \
| | | |
| | | | |
eth: time out status message exchange after 5s
|
| | |/ |
|
| |\ \
| | |/
| |/| |
fix console history, lines with leadning whitespace NOT included
|
| |/ |
|
| |\
| | |
| | | |
core: fix #1921, decode all receipt field, not just consensus
|
| | | |
|
| |\ \
| | |/
| |/| |
console, cli, api fixes
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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/vm: JIT segmentation
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
* multi-push segments
* static jumps segments
|
| | |
| | |
| | |
| | |
| | |
| | | |
Moved the execution of instructions to the instruction it self. This
will allow for specialised instructions (e.g. segments) to be execution
in the same manner as regular instructions.
|
| |\ \
| | | |
| | | | |
eth/63 fast synchronization algorithm
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | |/ |
|
| |\ \
| | | |
| | | | |
core, tests: get_hash fix
|
| |/ /
| | |
| | |
| | |
| | | |
Make sure that we're fetching the hash from the current chain and not
the canonical chain.
|
| |\ \
| | |/
| |/| |
core, core/state: move gas tracking out of core/state
|
| |/
| |
| |
| |
| |
| |
| | |
The amount of gas available for tx execution was tracked in the
StateObject representing the coinbase account. This commit makes the gas
counter a separate type in package core, which avoids unintended
consequences of intertwining the counter with state logic.
|
| |\
| | |
| | | |
core, eth/filters, miner, xeth: Optimised log filtering
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Log filtering is now using a MIPmap like approach where addresses of
logs are added to a mapped bloom bin. The current levels for the MIP are
in ranges of 1.000.000, 500.000, 100.000, 50.000, 1.000. Logs are
therefor filtered in batches of 1.000.
|
| | | |
|
| |\ \
| | | |
| | | | |
godeps: update ethash following GPU miner merge
|
| |/ / |
|
| |\ \
| | | |
| | | | |
all: Add GPU mining, disabled by default
|
| | | | |
|
| |\ \ \
| | | | |
| | | | | |
core/state, core, miner: handle missing root error from state.New
|
| |/ / / |
|
| |\ \ \
| | |_|/
| |/| | |
Update libsecp256k1, Go wrapper and tests
|
| | | | |
|
| | | | |
|
| |\ \ \
| | | | |
| | | | | |
core, eth, event, miner, xeth: fix event post / subscription race
|
| | | | | |
|
| |\ \ \ \
| | | | | |
| | | | | | |
common, crypto: add ICAP functions
|
| | | | | | |
|
| |\ \ \ \ \
| | |_|/ / /
| |/| | | | |
core/vm: copy stack element to prevent overwrites
|
| |/ / / / |
|
| |\ \ \ \
| | | | | |
| | | | | | |
cmd, core, eth: added official testnet
|
| | |/ / / |
|
| |\ \ \ \
| | | | | |
| | | | | | |
cmd: properly initialize Olympic for all subcommands
|
| | | | | | |
|
| |\ \ \ \ \
| | | | | | |
| | | | | | | |
core, core/vm, cmd/evm: remove redundant balance check
|
| | | |/ / /
| | |/| | | |
|
| |\ \ \ \ \
| | |_|/ / /
| |/| | | | |
crypto: correct sig validation, add missing unit tests of exported functions
|
| | | | | | |
|
| |\ \ \ \ \
| | | | | | |
| | | | | | | |
console/history respect datadir
|
| | | | | | | |
|
| |\ \ \ \ \ \
| | |_|_|/ / /
| |/| | | | | |
core: fix #1848, block receipts db entry for the genesis too
|
| | |/ / / / |
|
| |\ \ \ \ \
| | | | | | |
| | | | | | | |
cmd/geth: dev version number
|
| | | | | | | |
|
| |\ \ \ \ \ \
| | |/ / / / /
| |/| | | | | |
core: fixed head write on block insertion
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Due to a rebase this probably got overlooked / ignored. This fixes the
issue of a block insertion never writing the last block.
|
| |\ \ \ \ \
| | |_|_|_|/
| |/| | | | |
core, core/vm: refactor
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* Renamed ChainManager to BlockChain
* Checkpointing is no longer required and never really properly worked
when the state was corrupted.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* 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`.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Moved the filtering system from `event` to `eth/filters` package and
removed the `core.Filter` object. The `filters.Filter` object now
requires a `common.Database` rather than a `eth.Backend` and invokes the
`core.GetBlockByX` directly rather than thru a "manager".
|
| |\ \ \ \ \
| | |/ / / /
| |/| | | | |
eth/downloader: match capabilities when querying idle peers
|
| | | | | | |
|
| |\ \ \ \ \
| | |/ / / /
| |/| | | | |
core: deadlock in chainmanager after posting RemovedTransactionEvent
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This PR solves an issue with the chain manager posting a
`RemovedTransactionEvent`, the tx pool will try to
acquire the chainmanager lock which has previously been locked prior to
posting `RemovedTransactionEvent`. This results in a deadlock in the
core.
|
| |\ \ \ \
| | | | | |
| | | | | | |
core, trie: new trie
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| |\ \ \ \ \
| | | | | | |
| | | | | | | |
common: fix #1818, secondary datadir paths to fall back to
|
| | | | | | | |
|
|/ / / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
p2p/discover: fix race involving the seed node iterator
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The strict matching can get in the way of protocol upgrades.
|
| | | | | | | |
|
| | |_|_|_|/
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
nodeDB.querySeeds was not safe for concurrent use but could be called
concurrenty on multiple goroutines in the following case:
- the table was empty
- a timed refresh started
- a lookup was started and initiated refresh
These conditions are unlikely to coincide during normal use, but are
much more likely to occur all at once when the user's machine just woke
from sleep. The root cause of the issue is that querySeeds reused the
same leveldb iterator until it was exhausted.
This commit moves the refresh scheduling logic into its own goroutine
(so only one refresh is ever active) and changes querySeeds to not use
a persistent iterator. The seed node selection is now more random and
ignores nodes that have not been contacted in the last 5 days.
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
xeth: fixed nil pointer of filter retrieval
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This fix addresses an issue with filters that were (possibly) not yet
added to the filter queues but were expected. I've added additional nil
checks making sure it doesn't crash and swapped the installation of the
filter around so it's installed before use.
Closes #1665
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
core: fix a formatting loop in BadHashError
|
|/ / / / |
|
|\ \ \ \
| |_|/ /
|/| | | |
eth/downloader: always send termination wakes, clean leftover
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
core: Add BadHashErr and test for BadHashes handling
|
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | | |
VERSION: added version
|
| | |/ /
| |/| | |
|
|\ \ \ \
| |_|/ /
|/| | | |
rpc/api: don't crash for unknown blocks
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The test genesis block was not written properly, block insertion failed
immediately.
While here, fix the panic when shutting down "geth blocktest" with
Ctrl+C. The signal handler is now installed automatically, causing
ethereum.Stop to crash because everything is already stopped.
|
|\ \ \
| |/ /
|/| | |
tests: add test for StateTests/stCallCodes.json
|
| |/ |
|
|\ \
| | |
| | | |
makefile: built in cross compilation targets
|
| | | |
|
|\ \ \
| |/ /
|/| | |
core, xeth: chain reorg move missing transactions to transaction pool
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Added a `Difference` method to `types.Transactions` which sets the
receiver to the difference of a to b (NOTE: not a **and** b).
Transaction pool subscribes to RemovedTransactionEvent adding back to
those potential missing from the chain.
When a chain re-org occurs remove any transactions that were removed
from the canonical chain during the re-org as well as the receipts that
were generated in the process.
Closes #1746
|
|/ /
| |
| | |
Changed the version number of geth to 1.2.0 so that dev builds are now properly build (instead of master). Note to self; increase version number to 1.2.1 for our next actual release.
|
|\ \
| |/
|/| |
core: separate and contain POW verifier, extensive tests
|
|/ |
|
|\
| |
| | |
tests: update common test wrappers and test files
|
| | |
|
| | |
|
|\ \
| |/
|/| |
core: transaction nonce recovery
|
| |
| |
| |
| |
| |
| |
| |
| | |
When the transaction state recovery kicked in it assigned the last
(incorrect) nonce to the pending state which caused transactions with
the same nonce to occur.
Added test for nonce recovery
|
|\ \
| | |
| | | |
core: allow modifying test-chain block times
|
| | | |
|
|\ \ \
| | | |
| | | | |
common: Update README.md for the current package name
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
cmd/geth: extradata is correcly initialized with console
|
| | |_|/
| |/| | |
|
|\ \ \ \
| |_|_|/
|/| | | |
timer bugfix when clearInterval was called from within the callback
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | | |
core, eth, miner: use pure header validation
|
| |/ / |
|
|\ \ \
| | | |
| | | | |
all: move common.Database to ethdb and add NewBatch
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Storing a value in LevelDB copies the bytes, modifying the value
afterwards does not affect the content of the database. This commit
ensures that MemDatabase satisfies the same property.
|
| | | | |
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | | |
eth, rpc: standardize the chain sync progress counters
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
adds extradata flag
|
|/ / / / |
|
|\ \ \ \
| |/ / /
|/| | | |
new solc api - late fixes
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
* use legacy version matcher
* optimise just a boolean flag
* skipf for messages in tests
|
|\ \ \
| | | |
| | | | |
common/compiler: new solc API
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* adapt to new compiler versioning
* use compiler version as language version
* implement new solc API for versions >= 0.1.[2-9][0-9]* fixes #1770
* add optimize=1 to options
* backward compatibility (for now) for <= 0.1.1, and old versions (0.[2-9][0-9]*.[0-9]+)
* introduce compilerOptions to ContractInfo
* clean up flair, include full version string to version line and ContractInfo
|
|\ \ \
| | | |
| | | | |
rpc/comms: fix #1795, ensure IPC path exists before binding
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | | |
Change go-uuid to use the current supported repository.
|
| | |/
| |/| |
|
|\ \ \
| | | |
| | | | |
core, core/vm, core/state: remove unused functions
|
| |/ / |
|
|\ \ \
| | | |
| | | | |
godeps: pull in ethash android fix
|
| | |/
| |/| |
|
|\ \ \
| |/ /
|/| | |
core: split the db blocks into components, move TD out top level
|