| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Backport TxPool limits to release/1.4
|
| | |
|
| |
| |
| |
| | |
(cherry picked from commit 16d8397e30ea0e4d07a07f5c4416b8888daf9796)
|
| |
| |
| |
| | |
(cherry picked from commit b4a52513915d5a39ac055fc38cafed70098eb698)
|
| |
| |
| |
| | |
(cherry picked from commit a183ea29f9313cb1d00ed8f73bfbc4ae51e9cb04)
|
| |
| |
| |
| | |
(cherry picked from commit affffb39b366321e47784e48c469da9584ceb92c)
|
| |
| |
| |
| | |
(cherry picked from commit 0ef327bbee79c01a69ba59258acc6ce3a48bc288)
|
|/
|
|
| |
(cherry picked from commit 795b70423eac7180ab85b735f64aae9d6a10449d)
|
| |
|
|
|
|
|
|
| |
There is no need to use the reflection-based decoder to decode []byte.
(cherry picked from commit 3c836dd71b192de24774b1848173a4eb0ca9a63b)
|
|
|
|
|
|
| |
The delete/remove naming has caused endless confusion in the past.
(cherry picked from commit 90fce8bfa621f8c3be6663d62740783949111ff1)
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit replaces the deep-copy based state revert mechanism with a
linear complexity journal. This commit also hides several internal
StateDB methods to limit the number of ways in which calling code can
use the journal incorrectly.
As usual consultation and bug fixes to the initial implementation were
provided by @karalabe, @obscuren and @Arachnid. Thank you!
(cherry picked from commit 1f1ea18b5414bea22332bb4fce53cc95b5c6a07d)
|
|
|
|
|
|
|
|
|
|
| |
45bc1d21d3c1
Two new tests are skipped because they're buggy. Making some newer
random state tests work required implementing the 'compressed return
value encoding'.
(cherry picked from commit 1b7b2ba2163c7b2b2acc0c4f107951ad873cd8a4)
|
| |
|
|
|
|
| |
(cherry picked from commit e482b5694faece927a29289f88d7a87b1ce1fbd1)
|
|
|
|
| |
(cherry picked from commit 82e09c17a9e112cf8fe59ec526fc90a228ad3c0b)
|
|
|
|
|
|
| |
This pulls in the assembly implementation of keccakf1600 for amd64.
(cherry picked from commit 54ea317375273c8bb558194eb04c73925da9ac14)
|
|\
| |
| | |
Geth 1.4.15 "Come at me bro"
|
| | |
|
| |
| |
| |
| | |
(cherry picked from commit b4b5921dd030568717d33b03739d65c3aeb9d9af)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This commit tweaks the debian packaging tool:
* All build environment metadata can now be overriden on the command
line. This allows testing the CI build behaviour locally.
* -unstable packages now actually contain the binaries (oops)
* packages use Go 1.7 to build
* archiving is skipped for PR builds
(cherry picked from commit 4f7627972e4997965be6f3c406904ef613e14c20)
|
| |
| |
| |
| | |
(cherry picked from commit b7159818f9eb102ac842199fd5af0efca7bdd6b0)
|
| |
| |
| |
| |
| |
| | |
in the VM
(cherry picked from commit cb84e3f02953f2df166ae69369d222dcbbd7d78d)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Delete crashed if a fullNode contained a valueNode directly. This bug is
very unlikely to occur with SecureTrie, but can happen with regular
tries. This commit also introduces a randomised test which triggers all
trie operations, which should prevent such bugs in the future.
Credit for finding this bug goes to Github user @rjl493456442.
(cherry picked from commit c3a77d626831b4ffe37ed4f8640e67e70ad5b220)
|
|\|
| |
| | |
Geth 1.4.14: What else should we rewrite?
|
| | |
|
| |
| |
| |
| | |
(cherry picked from commit 710435b51b97b4c688b70bda35ab9d1aa704a988)
|
| |
| |
| |
| | |
(cherry picked from commit cd791bd855b55b95afc8a5c8f56b8bf67863d099)
|
| |
| |
| |
| |
| |
| |
| |
| | |
TravisCI and AppVeyor run the tests in very slow VMs.
Some of our tests can't cope with that. Running less tests
in parallel should make them somewhat less flakey.
(cherry picked from commit b0a6b979a3f12e91cfbc89850bfaa00c46653e85)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The redirect check did not work on Go 1.6 and below because Stat
returned an error for stdout and stderr. In Go 1.7 Stat works on stdout
but doesn't return anything meaningful, causing cmd/geth test failures
because the message is printed to stderr only. Fix it by printing to
stdout only.
(cherry picked from commit b04219fdbbef06527f77e93129d6a196b6841f44)
|
|/
|
|
|
|
| |
there (#2813)
(cherry picked from commit e11489eb5f58a63cb39a3189de7263837dc95b93)
|
|\
| |
| | |
[release/1.4.13] core/state: track all accounts in canon state
|
| | |
|
|/
|
|
|
|
|
| |
This change introduces a global, per-state cache that keeps account data
in the canon state. Thanks to @karalabe for lots of fixes.
(cherry picked from commit a59a93f476434f2805c8fd3e10bf1b2f579b078f)
|
|\
| |
| | |
Geth 1.4.13
|
| | |
|
| |
| |
| |
| | |
(cherry picked from commit 25ed5feddadea8201974bfacb2a57d060b697acb)
|
|\|
| |
| | |
G
|
| | |
|
|/
|
|
|
|
| |
objects
(cherry picked from commit 581b320b9dfb42c0c4842e0bc5aeb507267a8eba)
|
|\
| |
| | |
Geth 1.4.11
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
canonical hash is set
(cherry picked from commit bb8059f6aa86d1052d7c2dd75a6985982cb278f4)
Conflicts:
core/blockchain.go
core/database_util.go
core/headerchain.go
eth/filters/filter.go
|
| |
| |
| |
| | |
(cherry picked from commit f0134f363bf62ba18668c2524050f14b2a43b6bd)
|
| |
| |
| |
| | |
(cherry picked from commit 4c2cc32f2e279baa3059603b8c8a4329f31606f6)
|
| |
| |
| |
| |
| |
| | |
lookup
(cherry picked from commit d68865f3b1b93e2463f7e3381e39fbbd137df825)
|
| |
| |
| |
| | |
(cherry picked from commit 8f0a4a25f82f48005e6252a90c008bdc76219cc3)
|
| |
| |
| |
| | |
(cherry picked from commit 071af57bcf516d92a0b56c5bb119d9576d32b5cb)
|
| |
| |
| |
| |
| |
| |
| |
| | |
(cherry picked from commit 1dd272080dfb49a07a87c46e18d8aeaa0fd41a08)
Conflicts:
eth/handler.go
eth/sync.go
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The eth/61 protocol was disabled in #2776, this commit removes its
message handlers and hash-chain sync logic.
(cherry picked from commit 016007bd25f2b5e597c2ac2f7256c4e73574f70e)
Conflicts:
eth/handler.go
eth/handler_test.go
|
| |
| |
| |
| | |
(cherry picked from commit 8c23f20c68b59c5534ab249d23b452114ba75f74)
|
| |
| |
| |
| |
| |
| |
| |
| | |
The new build script, ci.go, replaces some of the older shell scripts.
ci.go can compile go-ethereum, run the tests, create release archives
and debian source packages.
(cherry picked from commit 6c33ba14a4db99409657e6a68a7c629e09ceee3f)
|
| |
| |
| |
| |
| |
| | |
Fixes #2825
(cherry picked from commit e4736fe46938008b7fa88879f728fa81c6ce09e8)
|
| |
| |
| |
| |
| |
| | |
Fixes #2829
(cherry picked from commit 4be37222efb2064140bd3d285ef553ec077e0487)
|
| |
| |
| |
| | |
(cherry picked from commit c7c82f1b44e07ad0906dde563cce46ea87b6fc83)
|
| |
| |
| |
| | |
(cherry picked from commit 91f18ffd47d766b1493016da6802befbf9739709)
|
|/
|
|
|
|
| |
and locking bugs found in its wake.
(cherry picked from commit 51f8ce26cf6dbc20ddc548af305739db981fdd41)
|
| |
|
|
|
|
|
|
| |
tweak
(cherry picked from commit 993b41216092fa6dc20d3755afe322cd1376b398)
|
|
|
|
| |
(cherry picked from commit 2c2e389b778b490fcaf14d9cc45a750647ca5c68)
|
|
|
|
|
|
| |
test DAO
(cherry picked from commit 3291235711082759cd7b70253c02150a80d57011)
|
|
|
|
| |
(cherry picked from commit 461cdb593b9e5bd9ae9ac35c68809a3a29290dcb)
|
|
|
|
| |
(cherry picked from commit 7f00e8c0331bf13739e749bab88bf9006ca02f96)
|
|
|
|
| |
(cherry picked from commit a87089fd2dc08a69a4a4f1ef93db9a2871d819a3)
|
|
|
|
| |
(cherry picked from commit 1e24c2e4f428c85c2f83272af2696469cb8f5bed)
|
|
|
|
| |
(cherry picked from commit 9e56811a3773e225bedf6bf0003327ea1aaae040)
|
|
|
|
|
|
| |
blocks
(cherry picked from commit 6060e098c929792f455d7f580ed91e914d28cf3b)
|
|
|
|
| |
(cherry picked from commit 6f1e45d5ba55dd55cafc81ef7d52457d16631686)
|
|
|
|
| |
(cherry picked from commit ca211065b653fe0861337a5204bbd547c75ea84f)
|
|
|
|
|
|
| |
fails
(cherry picked from commit a691aa2a13a97588208246b5e7bc70c2e3f15780)
|
|
|
|
| |
(cherry picked from commit f5a29eab5ce6ada8fef2378b96384cc81586b6ce)
|
|
|
|
| |
(cherry picked from commit 092fcaffe43ad450e4710dd3bd054b69f3f2c972)
|
|
|
|
|
|
| |
algos
(cherry picked from commit ddfef211258f027b748dbff6f71b8609bf898c11)
|
| |
|
|
|
|
|
|
| |
implementation"
This reverts commit a9c94cbf48fefe39104ee3495df139ff374dd219.
|
|
|
|
|
|
| |
soft-fork"
This reverts commit f31a3a251afad1d4c7169bc530fe60471df36122.
|
|
|
|
| |
This reverts commit aefffc9ed8ca60ebe58e06066b30f1283493f488.
|
|
|
|
|
|
| |
block"
This reverts commit b170a80cdcb380765c711017588b2d148eb1601e.
|
| |
|
|
|
|
| |
(cherry picked from commit 1e3a7d4fab36df9382d023519ef10e3c34bafa3b)
|
|
|
|
| |
(cherry picked from commit ba784bdf36f2daf7827ec1ec864f3393ba8d86a0)
|
|
|
|
| |
(cherry picked from commit c4de28938ff8c688c4444c8b3e8e28a52cbc62ff)
|
|
|
|
|
|
|
|
|
|
| |
This implements a generic approach to enabling soft forks by allowing
anyone to put in hashes of contracts that should not be interacted from.
This will help "The DAO" in their endevour to stop any whithdrawals from
any DAO contract by convincing the mining community to accept their code
hash.
(cherry picked from commit 7a5b571c671e70e0e4807cf971c15e2d1e09d33d)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
be created
This fixes an issue if you wanted to test out code deployment rather
than running a piece of code with an argument. This solves it by adding
a --create flag that indicates the Create function should be used rather
than the Call function.
This also adds a statedb.commit call so that the proper state can be
dumped when requested using the --dump flag.
(cherry picked from commit e5165aeb277b1f1ae8d5bf60c22716ccd874a8e6)
|
|
|
|
| |
(cherry picked from commit ac66d96c5acd4661253aad8015aa245c6788cd45)
|
|
|
|
| |
(cherry picked from commit 0f9539e1e3e77bb181d67591cfbb77f6a17e5537)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
(cherry picked from commit bb3651abc865c6f6babec0d357afa85f5a539d83)
|
|
|
|
|
|
| |
test fails
(cherry picked from commit 783289068a63b3accbc6d69cb0ecc0f2c39c5f54)
|
|
|
|
| |
(cherry picked from commit 90e07b19abaa950eaaff2eecc4918b1d16ebbcaf)
|
|
|
|
| |
(cherry picked from commit 861add3d72bcfc6c6a8976eb82dc3e7b5288883e)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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?
(cherry picked from commit 89c6c5bb85ff24c152218f245fa366e733c951a7)
|
|
|
|
|
|
| |
determining indentation level
(cherry picked from commit dbcdf83ed8aca3f0b84d67b944fff2f3a8bc7769)
|
|
|
|
| |
(cherry picked from commit 7c0eb47dfb957c045361cf7297b2935fd3e6a25a)
|
|
|
|
| |
(cherry picked from commit 32258af87be39994baca95aa92cb5565ee69571a)
|
|
|
|
| |
(cherry picked from commit d251d48439bf85d0fb0b52dd931e5ec6aea8b412)
|
| |
|
|
|
|
| |
(cherry picked from commit 32559ccad1e0519ce1decc4b90df021fe215a811)
|
|
|
|
| |
(cherry picked from commit 88f174a014c1f2f99fa6d6a8054ada28a0b43504)
|
|
|
|
|
|
| |
fails
(cherry picked from commit 61ee9f299deb2bace8aa37778d248822793dd5ce)
|
|
|
|
|
|
| |
Fixes #2650
(cherry picked from commit fc85dd175ebeef4996e5d370a7a2f085c922196d)
|
|
|
|
|
|
|
|
| |
* 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
(cherry picked from commit b57b6e341e3865de3b3a5aa108e642d1a6a5b590)
|
|
|
|
| |
(cherry picked from commit ad0e6e971e7d03c07842cc236fec09c73f93f465)
|
|
|
|
|
|
| |
This makes "geth js file.js" terminate again.
(cherry picked from commit fdba0cb03cf4e5a87cdcc2ebc0f381ad32f5ad3e)
|
|
|
|
| |
(cherry picked from commit 4496a44f68246bf128bb822c3f3a98f38adfdbdd)
|
|
|
|
| |
(cherry picked from commit 4f1d92b3329572d75a20b9f9e1cccdf74aa7c79f)
|
|
|
|
| |
(cherry picked from commit da729e5b386ca0fd32344dcc1fd63d14c0bb39ab)
|
|
|
|
| |
(cherry picked from commit 14ae5708d61059d424c9be9822b85a3f4bb392b3)
|
|
|
|
| |
(cherry picked from commit ffaf58f0a98bd987bbe76e8669bb22c405dcd62a)
|
|
|
|
|
|
| |
caching
(cherry picked from commit 748d1c171d74fbf6b6051fd629d3c2204dd930e3)
|
|
|
|
|
|
| |
(testnet)
(cherry picked from commit 8ee84584a407464511b453eebaa31854979aa593)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We used to have reporting of bad blocks, but it was disabled
before the Frontier release. We need it back because users
are usually unable to provide the full RLP data of a bad
block when it occurs.
A shortcoming of this particular implementation is that the
origin peer is not tracked for blocks received during eth/63
sync. No origin peer info is still better than no report at
all though.
(cherry picked from commit ca18202eb9a94de1d4b51c1572fa74edfa2773bf)
|
|
|
|
| |
(cherry picked from commit f3769a97d5b4fa899f0bf673ff4c33a21d12ec38)
|
|
|
|
| |
(cherry picked from commit f86ea9aad5b14051d5d311591148387b2e6da725)
|
|
|
|
| |
(cherry picked from commit 5eb60a6da23296f54081c92a6223935bfce81859)
|
|
|
|
| |
(cherry picked from commit 2e530f48892dd97fab362da7123319dc8c407444)
|
|
|
|
|
|
| |
method `TestBytes`
(cherry picked from commit faf663133b7d784406a6bfc029404b2718abc66d)
|
|
|
|
| |
(cherry picked from commit 8906b2fe0934c67ebb1db5d4d77acdf1a7e988f0)
|
|
|
|
| |
(cherry picked from commit e86619e75d1bd1209818ab4df2fac52e3c43b5e1)
|
|
|
|
| |
(cherry picked from commit b40dc8a1daf4bd1f293cf322274b470ad91517fb)
|
|
|
|
|
|
| |
This silences a go vet message about copying p2p.Server in package node.
(cherry picked from commit 542b839ec74ff0ce94ab0d34e25531f5819d95d1)
|
|
|
|
|
| |
README: fix typos
(cherry picked from commit 2348f8e2a8f2203e8ce4058cb23135579556be53)
|
|
|
|
| |
(cherry picked from commit 284f1d6beb589d240a18e9b63560266041fa9798)
|
|
|
|
|
|
| |
shh, fix miner
(cherry picked from commit bc6fdad786706019fc5aeb9605f1d23b3c5b7522)
|
|
|
|
| |
(cherry picked from commit bc3b406bffc9c6f38420f1504cb7eba0b92cad3b)
|
| |
|
|
|
|
| |
(cherry picked from commit 251b3c6406aee5876c87016bd088c8cefe7c08f6)
|
|
|
|
|
|
| |
not estimate and call
(cherry picked from commit 1580ec180414bce1e37acc614bc2445f778efb75)
|
|
|
|
|
|
|
| |
Sign transaction returned the unsigned transaction rather than the
signed one.
(cherry picked from commit 4b1a7d3868e796ee70f62985379e59f933a2aca0)
|
|
|
|
|
|
| |
parsing filter arguments
(cherry picked from commit 67cd4ee8d26e9ebe2714faaca856e73512236834)
|
|
|
|
|
|
|
|
|
|
|
| |
Calls to 'personal' API should be excluded from console history because
they can be called with an account passphrase as argument. The check for
such calls was inverted and didn't work.
(cherry picked from commit 86da6feb40fd366c75236d87fa306576c51ed2a8)
Conflicts:
cmd/geth/js.go
|
|
|
|
|
|
|
|
| |
(cherry picked from commit 64a6c2c1b6c81fddccc7d3d728b7a05c5814124b)
Conflicts:
cmd/geth/js.go
internal/web3ext/web3ext.go
|
|
|
|
| |
(cherry picked from commit d87f7a1e817cbecbb62c012ed3811ceba933ae3a)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes an issue where the following would lead to a panic due to a
channel being closed twice:
* Start mux
* Stop mux
* Sub to mux
* Unsub
This is fixed by setting the subscriptions status to closed resulting in
the Unsubscribe to ignore the request when called.
(cherry picked from commit 7c1f74713e273d1e4f1982466eb6fd96e55e8c4d)
|
| |
|
|
|
|
|
|
| |
This fixes an issue where it's theoretical possible to cause a consensus
failure when hitting the lower end of the difficulty, though pratically
impossible it's worth a fix.
|
|
|
|
| |
(cherry picked from commit cc21706c5007e8f400df536591948aee69e82d2f)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously it was assumed that wheneven type `[]interface{}` was given
that the interface was empty. The abigen rightfully assumed that
interface slices which already have pre-allocated variable sets to be
assigned.
This PR fixes that by checking that the given `[]interface{}` is larger
than zero and assigns each value using the generic `set` function (this
function has also been moved to abi/reflect.go) and checks whether the
assignment was possible.
The generic assignment function `set` now also deals with pointers
(useful for interface slice mentioned above) by dereferencing the
pointer until it finds a setable type.
(cherry picked from commit 91a7a4a7867718ccb6c9620120a1be5680ad0abd)
|
|
|
|
| |
(cherry picked from commit 54790977904cd51671ab57d926d83175dbc2ca55)
|
| |
|
|
|
|
| |
(cherry picked from commit a824c3f02f74eb11b4382abbb92aa8babc5d685c)
|
| |
|
| |
|
|\ |
|
| |\
| | |
| | | |
cmd/utils: fix build on *BSD
|
| | | |
|
| |\ \
| | | |
| | | | |
build: add CI scripts for windows
|
| | |/ |
|
| |\ \
| | | |
| | | | |
core, eth, miner: improve shutdown synchronisation
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Shutting down geth prints hundreds of annoying error messages in some
cases. The errors appear because the Stop method of eth.ProtocolManager,
miner.Miner and core.TxPool is asynchronous. Left over peer sessions
generate events which are processed after Stop even though the database
has already been closed.
The fix is to make Stop synchronous using sync.WaitGroup.
For eth.ProtocolManager, in order to make use of WaitGroup safe, we need
a way to stop new peer sessions from being added while waiting on the
WaitGroup. The eth protocol Run function now selects on a signaling
channel and adds to the WaitGroup only if ProtocolManager is not
shutting down.
For miner.worker and core.TxPool the number of goroutines is static,
WaitGroup can be used in the usual way without additional
synchronisation.
|
| |\ \
| | | |
| | | | |
jsre: hotfix web3 for the console eth.syncing formatting
|
| |/ / |
|
| |\ \
| | | |
| | | | |
eth: fixed tracing functions using the current header instead of parent
|
| |/ /
| | |
| | |
| | | |
Fixes #2525
|
| |\ \
| | | |
| | | | |
Makefile: go build instead of install (solves cross compile issues)
|
| | | | |
|
| |\ \ \
| | |_|/
| |/| | |
node: start RPC/WS interface on localhost by default
|
| | | | |
|
| |\ \ \
| | |_|/
| |/| | |
internal/debug: also rename debug_startTrace to debug_startGoTrace
|
| | | |
| | | |
| | | |
| | | | |
Also reduce log messages a little bit.
|
| |/ /
| | |
| | |
| | | |
This was missing from the previous change.
|
| |\ \
| | |/
| |/| |
internal/debug: rename debug_trace to debug_goTrace
|
| |/
| |
| |
| | |
Reduces confusion with EVM execution tracing methods.
|
|\| |
|
| |\
| | |
| | | |
cmd/geth: fixed to use proper version string for output
|
| |/ |
|
|\|
| |
| |
| |
| | |
Conflicts:
cmd/geth/main.go
|
| |\
| | |
| | | |
p2p/discover: prevent bonding self
|
| | | |
|
| | | |
|
| |\ \
| | | |
| | | | |
Make the README suck less :P
|
| |/ / |
|
| |\ \
| | |/
| |/| |
Geth release oracle
|
| | | |
|
| | | |
|
| | | |
|
| |/ |
|
| |\
| | |
| | | |
eth: add personal_importRawKey
|
| | | |
|
| |\ \
| | | |
| | | | |
Provide a public accessor for ChainConfig
|
| | | |
| | | |
| | | |
| | | | |
This is necessary for external users of the go-ethereum code who want to, for instance, build a custom node that plays back transactions, as core.ApplyTransaction requires a ChainConfig as a parameter.
|
| |\ \ \
| | |/ /
| |/| | |
cmd: add a `--fakepow` flag to help benchmarking database changes
|
| | | | |
|
| |\ \ \
| | | | |
| | | | | |
accounts/abi: refactored ABI package
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Refactored the abi package parsing and type handling. Relying mostly on
package reflect as opposed to most of our own type reflection. Our own
type reflection is still used however for cases such as Bytes and
FixedBytes (abi: bytes•).
This also inclused several fixes for slice handling of arbitrary and
fixed size for all supported types.
This also further removes implicit type casting such as assigning,
for example `[2]T{} = []T{1}` will fail, however `[2]T{} == []T{1, 2}`
(notice assigning *slice* to fixed size *array*). Assigning arrays to
slices will always succeed if they are of the same element type.
Incidentally also fixes #2379
|
| |\ \ \
| | | | |
| | | | | |
eth/filters: ignore logs that don't match filter criteria on chain reorg
|
| | | | | |
|
| |\ \ \ \
| | |/ / /
| |/| | | |
core, eth: added json tag field for proper unmarshalling
|
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
According to our own instructions the genesis config attribute should be
"config". The genesis definition in the go code, however, has a field
called `ChainConfig`. This field now has a `json:"config"` struct tag so
that the json is properly unmarshalled.
This fixes #2482
|
| |\ \ \
| | | | |
| | | | | |
accounts/abi/bind, eth: add contract non-existent error
|
| |/ / / |
|
| |\ \ \
| | | | |
| | | | | |
accounts: disable file system watch on linux/arm64
|
| | | |/
| | |/| |
|
| |\ \ \
| | | | |
| | | | | |
Improve Address test coverage
|
| | | |/
| | |/| |
|
| |\ \ \
| | |_|/
| |/| | |
cmd/geth, jsre: improve the js command
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
geth js stopped the JS runtime after running the first input file
and blocked for pending callbacks. This commit makes it process
all files and enables quitting with Ctrl-C regardless of callbacks.
Error reporting is also improved. If a script fails to load, the error
is printed and includes the backtrace. package jsre now ensures that
otto is aware of the filename, the backtrace will contain them.
Before:
$ geth js bad.js; echo "exit $?"
... log messages ...
exit 0
After:
$ geth js bad.js; echo "exit $?"
... log messages ...
Fatal: JavaScript Error: Invalid number of input parameters
at web3.js:3109:20
at web3.js:4917:15
at web3.js:4960:5
at web3.js:4984:23
at checkWork (bad.js:11:9)
at bad.js:19:1
exit 1
|
| |\ \ \
| | |_|/
| |/| | |
cmd/bootnode: fix -genkey, add logging options
|
| | |/ |
|
| |/ |
|
|/ |
|
|\
| |
| | |
rpc: remove NotifierContextKey
|
| |
| |
| |
| |
| |
| |
| | |
Context keys must have a unique type in order to prevent
any unintented clashes. The code used int(1) as key.
Fix it by implementing the pattern recommended by package context.
|
|\ \
| | |
| | | |
rpc: move web3.js extensions to internal/web3ext
|
| |/ |
|
|\ \
| |/
|/| |
accounts/abi/bind/backends: estimate needed gas, not used
|
|/ |
|
|\
| |
| | |
all: fix go vet warnings
|
| | |
|
| | |
|
| |
| |
| |
| | |
Lazy "I'll just put return here instead of fixing the test" found by go vet.
|
| |
| |
| |
| |
| | |
logging.printf triggered a format string warning. Silence it
by renaming the function.
|
| |
| |
| |
| |
| | |
This fixes a few uses of unkeyed Body literals which go vet was
complaining about.
|
|\ \
| |/
|/| |
whisper: deflake Test*MessageExpiration
|
|/
|
|
|
|
| |
These tests have become a common annoyance on CI. Fix them by allowing
messages with expiration == now into the cache and delaying the check
for expired message handling slightly.
|
|\
| |
| | |
all: update license information
|
| | |
|
|/ |
|
|\
| |
| | |
cmd/utils: strip excessive whitespace from api command line arguments
|
| | |
|
|\ \
| |/
|/| |
eth: fix single transaction tracing (run prev mutations)
|
| | |
|
|/ |
|
|\
| |
| | |
eth: add chaindbProperty to debug API (+ console fixes)
|
| | |
|
| | |
|
| |
| |
| |
| | |
This makes web3 internals like _requestManager invisible.
|
| | |
|
|/ |
|
|\
| |
| | |
accounts: disable filesystem notifications on iOS
|
|/ |
|
|\
| |
| | |
jsre: print BigNumber objects with custom constructor as number
|
|/ |
|
|\
| |
| | |
cmd/utils: fix accounts merge error on console unlock
|
|/ |
|
|\
| |
| | |
accounts: cache key addresses
|
| | |
|
| |
| |
| |
| |
| | |
- Sign takes common.Address, not Account
- Import/Export methods work with encrypted JSON keys
|
| | |
|
| |
| |
| |
| |
| | |
Text files created on Windows typically have \r\n line endings.
Trim them when reading password files.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In order to avoid disk thrashing for Accounts and HasAccount,
address->key file mappings are now cached in memory. This makes it no
longer necessary to keep the key address in the file name. The address
of each key is derived from file content instead.
There are minor user-visible changes:
- "geth account list" now reports key file paths alongside the address.
- If multiple keys are present for an address, unlocking by address is
not possible. Users are directed to remove the duplicate files
instead. Unlocking by index is still possible.
- Key files are overwritten written in place when updating the password.
|
| | |
|
| | |
|