Péter Szilágyi
970f4c06e1
Merge pull request #2680 from karalabe/abi-fix-uints
...
accounts/abi: fix uint64 upper range encoding.
9 years ago
Péter Szilágyi
22ef7370e7
Merge pull request #2686 from obscuren/issue-2542
...
core/state, eth: Updated suicides objects when tracing transactions
9 years ago
Jeffrey Wilcke
a38be3eb48
Merge pull request #2455 from zsfelfoldi/chaindb
...
core: improved chain db performance by using sequential keys
9 years ago
Felix Lange
73c028c40a
Merge pull request #2687 from karalabe/downloader-fasttest-fix
...
eth/downloader: fix occasional fast sync critical section test fails
9 years ago
Péter Szilágyi
783289068a
eth/downloader: fix occasional fast sync critical section test fails
9 years ago
Jeffrey Wilcke
bb3651abc8
core/state, eth: Updated suicides objects when tracing transactions
...
Consensus rules dictate that objects can only be removed during the
finalisation of the transaction (i.e. after all calls have finished).
Thus calling a suicided contract twice from the same transaction:
A->B(S)->ret(A)->B(S) results in 2 suicides. Calling the suicided
object twice from two transactions: A->B(S), A->B, results in only one
suicide and a call to an empty object.
Our current debug tracing functionality replays all transaction that
were executed prior to the targetted transaction in order to provide
the user with an accurate trace.
As a side effect to calling StateDB.IntermediateRoot it also deletes any
suicides objects. Our tracing code never calls this function because it
isn't interested in the intermediate root. Becasue of this it caused a
bug in the tracing code where transactions that were send to priviously
deleted objects resulted in two suicides rather than one suicide and a
call to an empty object.
Fixes #2542
9 years ago
Péter Szilágyi
ce88d41907
Merge pull request #2681 from karalabe/fix-cli-deprecation
...
cmd: fix CLI package deprecation warnings
9 years ago
Péter Szilágyi
0f9539e1e3
accounts/abi: fix uint64 upper range encoding.
9 years ago
Péter Szilágyi
90e07b19ab
cmd: fix CLI package deprecation warnings
9 years ago
Péter Szilágyi
63d1d145e2
Merge pull request #2677 from bas-vk/cli
...
cmd/geth: codegansta/cli package renamed to urfave/cli
9 years ago
Péter Szilágyi
c039bb38d4
Merge pull request #2653 from tbocek/develop
...
Negative numbers not properly converted in ABI encoding
9 years ago
Bas van Kervel
861add3d72
cmd/geth: codegansta/cli package renamed to urfave/cli
9 years ago
Péter Szilágyi
6886913fdf
Merge pull request #2670 from bas-vk/indent
...
Ignore round and curly brackets in strings for indentation level
9 years ago
Felix Lange
c75d3b0ede
Merge pull request #2673 from karalabe/fix-accounts-usage-text
...
cmd/geth: fix the keystore path in the accounts help text
9 years ago
Péter Szilágyi
7c0eb47dfb
cmd/geth: fix the keystore path in the accounts help text
9 years ago
Bas van Kervel
dbcdf83ed8
console: ignore round and curly brackets in strings when determining indentation level
9 years ago
Péter Szilágyi
d31eab94fd
Merge pull request #2671 from karalabe/randomize-console-tests
...
cmd/geth: truly randomize console test RPC endpoints
9 years ago
Péter Szilágyi
553f08b819
Merge pull request #2669 from karalabe/fix-windows-console-color
...
console: fix windows console colors
9 years ago
Péter Szilágyi
32258af87b
cmd/geth: truly randomize console test RPC endpoints
9 years ago
Péter Szilágyi
d251d48439
console: fix windows color transformation issue
9 years ago
zsfelfoldi
f9917c8c7b
core: improved chainDb using sequential keys
9 years ago
zsfelfoldi
5a458da42a
core: chain read/write speed benchmarks
9 years ago
Thomas Bocek
89c6c5bb85
accounts/abi: Negative numbers not properly converted in ABI encoding
...
When converting a negative number e.g., -2, the resulting ABI encoding
should look as follows:
fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe.
However, since the check of the type is for an uint instead of an
int, it results in the following ABI encoding:
0101010101010101010101010101010101010101010101010101010101010102. The
Ethereum ABI
(https://github.com/ethereum/wiki/wiki/Ethereum-Contract-ABI ) says,
that signed integers are stored in two's complement which should be
of the form ffffff.... and not 01010101..... for e.g. -1. Thus, I
removed the type check in numbers.go as well as the function S256
as I don't think they are correct. Or maybe I'm missing something?
9 years ago
Péter Szilágyi
fdd61b83ff
Merge pull request #2649 from karalabe/omit-startup-tx-processing
...
eth: don't accept transactions until we sync up with the network
9 years ago
Péter Szilágyi
32559ccad1
eth: don't accept transactions until we sync up with the network
9 years ago
Péter Szilágyi
826efc2295
Merge pull request #2630 from karalabe/adaptive-qos-tuning
...
eth/downloader: adaptive quality of service tuning
9 years ago
Péter Szilágyi
88f174a014
eth/downloader: adaptive quality of service tuning
9 years ago
Péter Szilágyi
780bdb3e80
Merge pull request #2647 from karalabe/fastsync-critical-resilience
...
eth/downloader: make fast sync resilient to critical section fails
9 years ago
Péter Szilágyi
828e1e35fd
Merge pull request #2655 from fjl/txpool-lock
...
core: add missing lock in TxPool.GetTransaction
9 years ago
Felix Lange
fc85dd175e
core: add missing lock in TxPool.{GetTransaction,RemoveTx}
...
Fixes #2650
9 years ago
Felix Lange
89ba380b3c
Merge pull request #2656 from fjl/console-test
...
cmd/geth: make console tests more robust
9 years ago
Felix Lange
b57b6e341e
cmd/geth: make console tests more robust
...
* use --port 0 to avoid p2p port conflicts
* use --maxpeers 0 so it doesn't connect to bootstrap nodes
* use geth.expectExit() to wait for termination
9 years ago
Felix Lange
ad0e6e971e
console: remove unnecessary JS evaluation in Welcome
9 years ago
Felix Lange
fdba0cb03c
internal/jsre: ensure Stop can be called more than once
...
This makes "geth js file.js" terminate again.
9 years ago
Péter Szilágyi
61ee9f299d
eth/downloader: make fast sync resilient to critical section fails
9 years ago
Péter Szilágyi
16a23ff740
Merge pull request #2637 from karalabe/downloader-always-cancel
...
eth/downloader: ensure cancel channel is closed post sync
9 years ago
Péter Szilágyi
1d5d21726a
Merge pull request #2627 from karalabe/concurrent-head-sync
...
eth/downloader, trie: pull head state concurrently with chain
9 years ago
Péter Szilágyi
7b662103a0
Merge pull request #2535 from karalabe/modularize-console
...
cmd, console: split off the console into a reusable package
9 years ago
Péter Szilágyi
da729e5b38
cmd/geth, console: fix reviewer issues
9 years ago
Jeffrey Wilcke
5c39a1bb26
Merge pull request #2585 from karalabe/trie-dirty-tracking
...
core, core/state, trie: enterprise hand-tuned multi-level caching
9 years ago
Péter Szilágyi
14ae5708d6
console, internal/jsre: colorize JavaScript exceptions too
9 years ago
Péter Szilágyi
ffaf58f0a9
cmd, console: split off the console into a reusable package
9 years ago
Péter Szilágyi
4496a44f68
eth/downloader: ensure cancel channel is closed post sync
9 years ago
Péter Szilágyi
4f1d92b332
eth/downloader, trie: pull head state concurrently with chain
9 years ago
Péter Szilágyi
ab664c7e17
Merge pull request #2626 from karalabe/fix-testnet-zero-nonce
...
core/state: return the starting nonce for non-existent accs (testnet)
9 years ago
Péter Szilágyi
8ee84584a4
core/state: return the starting nonce for non-existent accs (testnet)
9 years ago
Péter Szilágyi
748d1c171d
core, core/state, trie: enterprise hand-tuned multi-level caching
9 years ago
Jeffrey Wilcke
a7434fd008
Merge pull request #2614 from fjl/bad-block-report
...
eth: enable bad block reports
9 years ago
Jeffrey Wilcke
d9bb8179d3
Merge pull request #2617 from obulpathi/develop
...
misc: fix spelling mistake
9 years ago
Jeffrey Wilcke
ee36057dd5
Merge pull request #2612 from remyroy/fix-eth-getCompilers
...
eth/api: fixed GetCompilers when there is no error creating Solc
9 years ago