Péter Szilágyi
5705ad004e
containers/docker: bump docker images to 1.7 release branch
2017-09-14 14:01:44 +03:00
Péter Szilágyi
a989cf5bad
VERSION, params: begin 1.7.1 release cycle
2017-09-14 14:01:31 +03:00
Péter Szilágyi
6c6c7b2af3
params: release Geth 1.7.0 - Megara
2017-09-14 13:55:42 +03:00
Péter Szilágyi
5c93462b5e
Merge pull request #15147 from karalabe/enable-byzantium-ropsten
...
params: enable Byzantium on Ropsten/tests, fix failures
2017-09-14 11:28:54 +03:00
Péter Szilágyi
701d60c889
params: enable Byzantium on Ropsten/tests, fix failures
2017-09-14 10:59:05 +03:00
Martin Holst Swende
9be07de539
params: Updated finalized gascosts for ECMUL/MODEXP ( #15135 )
...
* params: Updated finalized gascosts for ECMUL/MODEXP
* core,tests: Updates pending new tests
* tests: Updated with new tests
* core: revert state transition bugfix
* tests: Add expected failures due to #15119
2017-09-14 10:35:54 +03:00
Péter Szilágyi
885c13c2c9
Merge pull request #15146 from karalabe/byzantium-rebrand
...
consensus, core, params: rebrand Metro to Byzantium
2017-09-14 10:29:08 +03:00
Péter Szilágyi
5bbd7fb390
consensus, core, params: rebrand Metro to Byzantium
2017-09-14 10:10:46 +03:00
Péter Szilágyi
79b11121a7
Merge pull request #15141 from karalabe/rinkeby-infura-bootnode
...
params: add Infura bootnode to Rinkeby
2017-09-13 12:48:00 +03:00
Péter Szilágyi
72af509abe
params: add Infura bootnode to Rinkeby
2017-09-13 11:25:50 +03:00
Péter Szilágyi
382c9266e6
Merge pull request #15138 from karalabe/statesync-peer-drops
...
eth/downloader: track peer drops and deassign state sync tasks
2017-09-12 15:33:32 +03:00
Péter Szilágyi
f46adfac28
eth/downloader: track peer drops and deassign state sync tasks
2017-09-12 15:13:14 +03:00
Péter Szilágyi
514b1587db
Merge pull request #15137 from karalabe/puppeth-keywords
...
cmd/puppeth: reserve "yournode" as a non-allowed ethstats user
2017-09-12 11:50:53 +03:00
Péter Szilágyi
66a7ef57e6
cmd/puppeth: reserve "yournode" as a non-allowed ethstats user
2017-09-12 11:35:35 +03:00
Péter Szilágyi
ecca2c3c1b
Merge pull request #15129 from zsfelfoldi/cht1040
...
light: new CHTs for mainnet and ropsten
2017-09-12 10:59:01 +03:00
Zsolt Felfoldi
7a7f6a4f29
light: new CHTs for mainnet and ropsten
2017-09-11 23:36:16 +02:00
Péter Szilágyi
c8e70186a6
Merge pull request #14973 from rjl493456442/fix_downloader
...
eth/downloader: exit loop when there is no more available task
2017-09-11 14:02:02 +03:00
Péter Szilágyi
794741b8b2
Merge pull request #15124 from fjl/debug-gcpercent
...
internal/debug: add debug_setGCPercent
2017-09-11 13:34:34 +03:00
Felix Lange
48705f8aea
internal/debug: add debug_setGCPercent
2017-09-11 12:29:47 +02:00
Péter Szilágyi
10b3f97c9d
core: only fire one chain head per batch ( #15123 )
...
* core: only fire one chain head per batch
* miner: announce chan events synchronously
2017-09-11 13:13:05 +03:00
Felix Lange
5596b664c4
internal/debug: add debug_freeOSMemory ( #15122 )
2017-09-11 09:33:18 +02:00
Felix Lange
10181b57a9
core, eth/downloader: commit block data using batches ( #15115 )
...
* ethdb: add Putter interface and Has method
* ethdb: improve docs and add IdealBatchSize
* ethdb: remove memory batch lock
Batches are not safe for concurrent use.
* core: use ethdb.Putter for Write* functions
This covers the easy cases.
* core/state: simplify StateSync
* trie: optimize local node check
* ethdb: add ValueSize to Batch
* core: optimize HasHeader check
This avoids one random database read get the block number. For many uses
of HasHeader, the expectation is that it's actually there. Using Has
avoids a load + decode of the value.
* core: write fast sync block data in batches
Collect writes into batches up to the ideal size instead of issuing many
small, concurrent writes.
* eth/downloader: commit larger state batches
Collect nodes into a batch up to the ideal size instead of committing
whenever a node is received.
* core: optimize HasBlock check
This avoids a random database read to get the number.
* core: use numberCache in HasHeader
numberCache has higher capacity, increasing the odds of finding the
header without a database lookup.
* core: write imported block data using a batch
Restore batch writes of state and add blocks, tx entries, receipts to
the same batch. The change also simplifies the miner.
This commit also removes posting of logs when a forked block is imported.
* core: fix DB write error handling
* ethdb: use RLock for Has
* core: fix HasBlock comment
2017-09-09 19:03:07 +03:00
holisticode
ac193e36ce
swarm/api/http: add error pages ( #14967 )
2017-09-08 20:29:09 +02:00
nkbai
5ba9225fe3
accounts/abi/bind: pass non-empty directory when calling goimports ( #15070 )
2017-09-07 23:34:45 +02:00
Martin Holst Swende
fc87bc5f52
common: improve documentation of Hash.SetBytes ( #15062 )
...
Fixes #15004
2017-09-07 23:32:59 +02:00
Mark
c1740e4540
core/types, miner: avoid tx sender miscaching ( #14773 )
2017-09-07 23:22:27 +02:00
Benoit Verkindt
e3db1236de
contracts/chequebook: fix race in test ( #15058 )
2017-09-07 23:14:47 +02:00
Fiisio
02b4d074f6
core/asm: use ContainsRune instead of IndexRune ( #15098 )
2017-09-07 23:11:48 +02:00
Fiisio
2dcb22afec
swarm/fuse: use Equal instead of Compare ( #15097 )
2017-09-07 23:10:51 +02:00
Pawan Singh Pal
69c8be7c86
core: delete dao.go ( #15113 )
...
- dao.go is already present in consensus/misc
- core/dao.go is not used anywhere in the codebase
2017-09-07 23:08:06 +02:00
Péter Szilágyi
55e5926f34
Merge pull request #15103 from karalabe/disable-fastsync-postpivot
...
eth: disable fast sync after pivot is committed
2017-09-07 19:29:45 +03:00
Péter Szilágyi
f30179d62e
eth: disable fast sync after pivot is committed
2017-09-06 15:02:44 +03:00
Péter Szilágyi
c4d21bc8e5
Merge pull request #14631 from zsfelfoldi/bloombits2
...
core/bloombits, eth/filter: transformed bloom bitmap based log search
2017-09-06 13:00:35 +03:00
Péter Szilágyi
160add8570
Merge pull request #15095 from karalabe/txpool-avoid-deep-reorg
...
core: use blocks and avoid deep reorgs in txpool
2017-09-06 12:01:07 +03:00
Péter Szilágyi
564c8f3ae6
core/bloombits: drop nil-matcher special case
2017-09-06 11:14:22 +03:00
Zsolt Felfoldi
451ffdb62b
core/bloombits: use general filters instead of addresses and topics
2017-09-06 11:14:21 +03:00
Zsolt Felfoldi
6ff2c02991
core/bloombits: AddBloom index parameter and fixes variable names
2017-09-06 11:14:20 +03:00
Péter Szilágyi
f585f9eee8
core, eth: clean up bloom filtering, add some tests
2017-09-06 11:14:19 +03:00
Zsolt Felfoldi
4ea4d2dc34
core, eth: add bloombit indexer, filter based on it
2017-09-06 11:13:13 +03:00
Péter Szilágyi
1e67378df8
Merge pull request #15094 from karalabe/eth-auto-maxpeers
...
eth: use maxpeers from p2p layer instead of extra config
2017-09-06 10:38:37 +03:00
Péter Szilágyi
cc313e78b7
core: use blocks and avoid deep reorgs in txpool
2017-09-05 19:50:29 +03:00
Péter Szilágyi
b0ca1b67ce
eth: use maxpeers from p2p layer instead of extra config
2017-09-05 19:18:28 +03:00
Nick Johnson
03d00361f5
Merge pull request #15092 from karalabe/puppeth-main-docker-images
...
Dockerfile, cmd/puppeth: fix missing SSL certificates, use main image in puppeth
2017-09-05 14:24:09 +01:00
Péter Szilágyi
f90a193f92
cmd/puppeth: switch node containers to main ones
2017-09-05 16:09:41 +03:00
Péter Szilágyi
8e14bb1448
Dockerfile: fix missing SSL certificates
2017-09-05 16:06:04 +03:00
Péter Szilágyi
cd6c861dc5
vendor: pull in latest changes for goleveldb ( #15090 )
2017-09-05 15:04:32 +02:00
Péter Szilágyi
c91f7beb53
Merge pull request #15085 from karalabe/txpool-immutable
...
core: make txpool operate on immutable state
2017-09-05 13:39:18 +03:00
Viktor Trón
2bacf36d80
bmt: Binary Merkle Tree Hash ( #14334 )
...
bmt is a new package that provides hashers for binary merkle tree hashes on
size-limited chunks. the main motivation is that using BMT hash as the chunk
hash of the swarm hash offers logsize inclusion proofs for arbitrary files on a
32-byte resolution completely viable to use in challenges on the blockchain.
2017-09-05 12:38:36 +02:00
Péter Szilágyi
32d8d42274
Merge pull request #15089 from karalabe/docker-multistage
...
Dockerfile: multi-stage builds, Go 1.9
2017-09-05 13:36:20 +03:00
Péter Szilágyi
da7d57e07c
core: make txpool operate on immutable state
2017-09-05 13:34:41 +03:00