aron
a45421baaf
swarm/storage: fix chunker when reader is broken
...
* brokenLimitedReader gives error after half size
* TestRandomBrokenData tests chunker with broken reader
* add blocking quitC (instead of errC) and use errC only for errors
* don't close chunkC in tester Split,
* use quitC to quit chunk storage loop
8 years ago
Felix Lange
be6a3696a9
Merge pull request #3104 from fjl/core-import-log
...
core: print import stats more often
8 years ago
Felix Lange
7943ecb812
Merge pull request #3117 from fjl/txpool-low-limit
...
core: lower transaction pool max queue limit
8 years ago
Felix Lange
16d8397e30
core: lower transaction pool max queue limit
8 years ago
Kobi Gurkan
1a6682c21d
internal/ethapi, internal/web3ext: adds raw tx retrieval methods
8 years ago
Felix Lange
82b14a05f2
eth: move "timed out DAO fork check, dropping" to debug level
8 years ago
Felix Lange
e66b158f0b
core: print import stats more often
...
If geth is busy importing 2048 heavy blocks it can take a while before
it prints anything. This change ensures that a message gets printed
every 8s.
8 years ago
Felix Lange
c88e435724
Merge pull request #3088 from bas-vk/rpc-block-output
...
core/types: renamed receiptRoot to receiptsRoot
8 years ago
Felix Lange
eeb2a1a6e3
Merge pull request #3094 from fjl/tests-update
...
tests: update test files from github.com/ethereum/tests @ 45bc1d21d3c1
8 years ago
Jeffrey Wilcke
7335a70a02
Merge pull request #3092 from fjl/state-journal
...
core/state: implement reverts by journaling all changes
8 years ago
Felix Lange
1b7b2ba216
tests: update test files from github.com/ethereum/tests @ 45bc1d21d3c1
...
Two new tests are skipped because they're buggy. Making some newer
random state tests work required implementing the 'compressed return
value encoding'.
8 years ago
Felix Lange
3c836dd71b
core/state: optimize GetState
...
There is no need to use the reflection-based decoder to decode []byte.
8 years ago
Felix Lange
90fce8bfa6
core/state: rename Delete/IsDeleted to Suicide/HasSuicided
...
The delete/remove naming has caused endless confusion in the past.
8 years ago
Felix Lange
1f1ea18b54
core/state: implement reverts by journaling all changes
...
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!
8 years ago
Jeffrey Wilcke
07caa3fccd
Merge pull request #3090 from karalabe/fix-eth-header-indexing
...
eth: monitor malicious header retrieval requests
8 years ago
Felix Lange
83fc6fdb34
Merge pull request #3089 from bas-vk/resend
...
internal/ethapi: bugfix gas price and limit swapped in eth_resend
8 years ago
Péter Szilágyi
2acb9a6ea7
Merge pull request #3081 from ethernomad/cors-max-age
...
rpc: set CORS Max-Age to reduce preflight OPTIONS requests
8 years ago
Péter Szilágyi
e482b5694f
eth: monitor malicious header retrieval requests
8 years ago
Bas van Kervel
6c959207db
internal/ethapi: bugfix gas price and limit swapped in eth_resend
8 years ago
Bas van Kervel
71e8ae01b8
core/types: renamed receiptRoot to receiptsRoot
8 years ago
Felix Lange
a7cc3248fe
Merge pull request #3082 from fjl/build-fix-tag-appveyor
...
internal/build: fix git tag env variable for AppVeyor
8 years ago
Felix Lange
82e09c17a9
internal/build: fix git tag env variable for AppVeyor
8 years ago
Jonathan Brown
ae341b31c8
rpc: set CORS Max-Age to reduce preflight OPTIONS requests
8 years ago
Péter Szilágyi
ab7adb0027
Merge pull request #3073 from fjl/build-git17
...
internal/build: use less edgy command to get the branch name
8 years ago
Felix Lange
b4b5921dd0
internal/build: use less edgy command to get the branch name
8 years ago
Péter Szilágyi
c683e4aaa2
Merge pull request #3072 from karalabe/state-storage-dirty
...
core/state: track dirty state entries for each object
8 years ago
Péter Szilágyi
b7159818f9
core/state: track dirty state entries for each object
8 years ago
Péter Szilágyi
d4b55fc5b2
Merge pull request #3066 from fjl/build-env
...
build: improve debian packaging
8 years ago
Felix Lange
4f7627972e
build: improve debian packaging
...
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
8 years ago
Felix Lange
920e1ccfe0
Merge pull request #3068 from fjl/update-sha3
...
crypto/sha3: update from golang.org/x/crypto/sha3 a 80b25ed4
8 years ago
Felix Lange
54ea317375
crypto/sha3: update from golang.org/x/crypto/sha3 a 80b25ed4
...
This pulls in the assembly implementation of keccakf1600 for amd64.
8 years ago
Péter Szilágyi
0731b44809
Merge pull request #3067 from karalabe/vm-avoid-hashing
...
cmd, core, internal, light, tests: avoid hashing the code in the VM
8 years ago
Péter Szilágyi
cb84e3f029
cmd, core, internal, light, tests: avoid hashing the code in the VM
8 years ago
Yoichi Hirai
bb6115b737
vm, ethapi: add `limit` option to traceTransaction
...
that specifies the maximum number of elements in the `structLogs`
output. This option is useful for debugging a transaction that
involves a large number of repetition.
For example,
```
debug.traceTransaction(tx, {disableStorage: true, limit: 2})
```
shows at most the first two steps in the `structLogs`.
8 years ago
Péter Szilágyi
d8715fba1a
Merge pull request #3062 from fjl/trie-delete-bug
...
trie: fix delete bug for values contained in fullNode
8 years ago
Felix Lange
b4cc8cbac4
Merge pull request #3032 from Gustav-Simonsson/keystore_padding
...
accounts: left pad keybytes-to-encrypt
8 years ago
Felix Lange
c3a77d6268
trie: fix delete bug for values contained in fullNode
...
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 .
8 years ago
Felix Lange
ba8c4c6b1a
trie: remove dependency on package crypto
...
Package crypto needs cgo, which is inconvenient for some build
configurations.
8 years ago
Felix Lange
44bc2e80dd
Merge pull request #2914 from fjl/node-coinhabit
...
cmd/utils, node: make datadir reusable for bzzd
8 years ago
Péter Szilágyi
4e8cec05ab
Merge pull request #3048 from sandakersmann/patch-2
...
README: Changed http:// to https:// on some links
8 years ago
ken10100147
afecb93e2e
p2p/nat: fix parameter order for AddMapping
8 years ago
Péter Szilágyi
437c3863f1
Merge pull request #3053 from karalabe/fjl-state-trie-journal
...
core, trie: replace state caches with trie journal
8 years ago
Péter Szilágyi
710435b51b
core, eth, trie: reuse trie journals in all our code
8 years ago
Felix Lange
cd791bd855
core, trie: replace state caches with trie journal
8 years ago
Gustav Simonsson
7cc6b801e0
accounts: left pad keybytes-to-encrypt, add 30/31 byte keys tests
8 years ago
sandakersmann
5a3844981b
README: Changed http:// to https:// on some links
...
Changed http:// to https:// on some links in README.md
8 years ago
Felix Lange
863d166c7b
Merge pull request #3043 from fjl/windows-fix-fatalf
...
cmd/utils: don't check for stderr redirect on windows
8 years ago
Felix Lange
b04219fdbb
cmd/utils: don't check for stderr redirect on windows
...
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.
8 years ago
Péter Szilágyi
61734cc7ae
Merge pull request #3041 from fjl/build-less-parallel
...
build: limit test concurrency
8 years ago
Felix Lange
0951524ca2
travis.yml: remove go 1.4 builder
8 years ago