Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync to 1.8.7 #8

Merged
merged 106 commits into from
May 8, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
85ea915
params, VERSION: v1.8.4 unstable
fjl Mar 26, 2018
6134990
core/vm: Fixed typos in core/vm/interpreter.go
hydai Mar 27, 2018
d763e20
Merge pull request #16394 from hydai/fix_typo
karalabe Mar 27, 2018
45bd4fe
light: new CHT for ropsten (#16393)
zsfelfoldi Mar 27, 2018
8044971
whisper: fix issue in topic list copy (#16381)
gballet Mar 27, 2018
1a8894b
core/state: uniform parameter style (#16398)
LLLeon Mar 28, 2018
958ed4f
core/state: rework dirty handling to avoid quadratic overhead
holiman Oct 1, 2017
d985b90
core/state: avoid linear overhead on journal dirty listing
karalabe Mar 27, 2018
a095b84
travis.yml: remove sudo requirement for PPA and Azure purge builders …
fjl Mar 28, 2018
6cdfb9a
.gitattributes: enable solidity highlighting on github (#16425)
ldct Apr 3, 2018
d1af4e1
crypto/secp256k1: catch curve parameter parse errors (#16392)
DavidHuie Apr 3, 2018
5909482
core/state: avoid redundant addition to code size cache (#16427)
LLLeon Apr 3, 2018
2a4bd55
cmd/geth: remove relOracle variable (#16434)
thanhson1085 Apr 4, 2018
7aad81f
eth: fix typos (#16414)
lsgrep Apr 4, 2018
6ab9f0a
accounts/abi: improve test coverage (#16044)
ricardohsd Apr 4, 2018
1e248f3
README: change 'built in' to 'built-in'
realgio95 Apr 4, 2018
ec8ee61
core/types: remove String methods from struct types (#16205)
stevenroose Apr 5, 2018
50dbe8e
Dockerfile: use non-privileged user account (#16052)
fgimenez Apr 5, 2018
c43792a
cmd/geth: update template for 'geth bug' command (#16350)
niuzhenguo Apr 6, 2018
3ebcf92
cmd/evm: print vm output when debug flag is on (#16326)
dm4 Apr 6, 2018
8de655e
bmt: fix comment typos (#16461)
D-or Apr 9, 2018
315b9b1
ethclient: remove empty object in newHeads subscription call (#16454)
Apr 9, 2018
0fac705
compression/rle: delete RLE compression (#16468)
fjl Apr 9, 2018
1100e8b
eth/downloader: flush state sync data before exit (#16280)
rjl493456442 Apr 9, 2018
14c9215
state: handle nil in journal dirties
holiman Apr 7, 2018
8c31d28
core: add blockchain benchmarks
holiman Apr 7, 2018
39f4c80
Merge pull request #15225 from holiman/test_removefrom_dirtyset
karalabe Apr 10, 2018
7c1e9a5
cmd/puppeth: fix node deploys for updated dockerfile user
karalabe Apr 10, 2018
149f706
Merge pull request #16477 from karalabe/puppeth-dockerfile-permission…
karalabe Apr 10, 2018
29213b1
Dockerfile.alltools: fix invalid command
karalabe Apr 10, 2018
c7ab3e5
common: delete StringToAddress, StringToHash (#16436)
fjl Apr 10, 2018
989ab26
Merge pull request #16478 from karalabe/fix-alltools-dockerfile
karalabe Apr 10, 2018
30deb60
build: add -e and -X flags to get more information on #16433 (#16443)
ligi Apr 10, 2018
3caf16b
core: remove stray account creations in state transition (#16470)
fjl Apr 10, 2018
95d5c22
travis, appveyor: bump to Go 1.10.1
karalabe Apr 10, 2018
2e24770
travis.yml: add TEST_PACKAGES to speed up swarm testing (#16456)
acud Apr 10, 2018
34ecb49
Merge pull request #16481 from karalabe/go1.10.1
karalabe Apr 11, 2018
e7cc5b4
les: add ps.lock.Unlock() before return (#16360)
cpusoft Apr 11, 2018
0c7b99b
core/state: fix bug in copy of copy State
holiman Apr 10, 2018
5a79aca
Merge pull request #16485 from holiman/fixcopycopy
karalabe Apr 11, 2018
7205366
core/state: fix ripemd-cornercase in Copy
holiman Apr 11, 2018
7e911b8
Merge pull request #16491 from holiman/fix_copy_again
karalabe Apr 12, 2018
db48d31
core: txpool stable underprice drop order, perf fixes
karalabe Apr 12, 2018
60516c8
Merge pull request #16494 from karalabe/txpool-stable-pricedelete
karalabe Apr 12, 2018
2a1fc3d
miner: remove contention on currentMu for pending data retrievals (#1…
ryanschneider Apr 16, 2018
6b2b328
ethdb: add leveldb write delay statistic (#16499)
rjl493456442 Apr 16, 2018
de2a7bb
eth/downloader: wait for all fetcher goroutines to exit before termin…
rjl493456442 Apr 16, 2018
ec3db0f
cmd/clef, signer: initial poc of the standalone signer (#16154)
holiman Apr 16, 2018
92c6d13
light: new CHTs (#16515)
zsfelfoldi Apr 17, 2018
2423ae0
params: release Geth v1.8.4
karalabe Apr 17, 2018
7605e63
VERSION, params: begin v1.8.5 release cycle
karalabe Apr 17, 2018
ba1030b
build: enable goimports and varcheck linters (#16446)
thomasmodeneis Apr 17, 2018
49e38c9
core/asm: remove unused condition (#16487)
dm4 Apr 17, 2018
661f5f3
cmd/utils: fix help template issue for subcommands (#16351)
niuzhenguo Apr 17, 2018
52b046c
rpc: clean up IPC handler (#16524)
fjl Apr 18, 2018
c514fbc
core/asm: accept uppercase instructions (#16531)
dm4 Apr 19, 2018
8f8774c
all: fix various typos (#16533)
wuxiangzhou2010 Apr 19, 2018
8feb318
rpc: handle HTTP response error codes (#16500)
holiman Apr 19, 2018
a16f12b
whisper/whisperv6: post returns the hash of sent message (#16495)
gluk256 Apr 19, 2018
b15eb66
ethclient: add DialContext and Close (#16318)
Apr 19, 2018
744428c
vendor: update elastic/gosigar so that it compiles on OpenBSD (#16542)
Mischi Apr 21, 2018
7cf83ce
eth/downloader: fix for Issue #16539 (#16546)
Apr 23, 2018
cbdaa0c
params: release Geth v1.8.5 - Dirty Derivative²
karalabe Apr 23, 2018
50aa1dc
VERSION, params: begin Geth 1.8.6 release cycle
karalabe Apr 23, 2018
26a4dbb
cmd/geth: update the copyright year in the geth command usage (#16537)
vieyang Apr 23, 2018
3f2583d
Revert "Dockerfile.alltools: fix invalid command"
karalabe Apr 23, 2018
4f91831
Merge pull request #16550 from ethereum/revert-16478-fix-alltools-doc…
karalabe Apr 23, 2018
abd881f
Revert "cmd/puppeth: fix node deploys for updated dockerfile user"
karalabe Apr 23, 2018
7d2c730
Merge pull request #16551 from ethereum/revert-16477-puppeth-dockerfi…
karalabe Apr 23, 2018
96a6c8b
Dockerfile: revert the user change PR that broke all APIs
karalabe Apr 23, 2018
16a78b0
Merge pull request #16552 from karalabe/revert-docker-user
karalabe Apr 23, 2018
49371bf
Dockerfile: drop legacy discovery v5 port mappings
karalabe Apr 23, 2018
12683fe
params: release v1.8.6 to fix docker images
karalabe Apr 23, 2018
9586f2a
VERSION, params: begin release cycle 1.8.7
karalabe Apr 23, 2018
e7067be
cmd/geth, mobile: add memsize to pprof server (#16532)
fjl Apr 23, 2018
86be91b
core/types: avoid duplicating transactions on changing signer (#16435)
countvonzero Apr 24, 2018
b724d1a
core/state: cache missing storage entries (#16584)
fjl Apr 27, 2018
852aa14
cmd/utils: point users to --syncmode under DEPRECATED (#16572)
martinklepsch Apr 27, 2018
cfe8f5f
trie: remove unused `buf` parameter (#16583)
xincaosu Apr 27, 2018
7a7428a
core, eth: fix tracer dirty finalization
karalabe Apr 27, 2018
1da3302
Merge pull request #16588 from karalabe/tracer-dirty-fix
karalabe Apr 27, 2018
ea171d5
travis.yml: remove obsolete brew-cask install
reductionista May 1, 2018
9f6af6f
whisper: Golint fixes in whisper packages (#16637)
roveneliah May 2, 2018
a1949d0
vendor: fix leveldb crash when bigger than 1 TiB
May 1, 2018
9922943
Merge pull request #16636 from reductionista/travis
karalabe May 2, 2018
448d17b
Merge pull request #16630 from tstranex/master
karalabe May 2, 2018
0afd767
core: ensure local transactions aren't discarded as underpriced
Apr 26, 2018
8dfa4f4
evm/main: use blocknumber from genesis
holiman Apr 26, 2018
c1ea527
accounts: golint updates for this or self warning (#16627)
kielbarry May 2, 2018
d76c5ca
tests: golint fixes for tests directory (#16640)
roveneliah May 2, 2018
4a8d5d2
trie: golint iterator fixes (#16639)
roveneliah May 2, 2018
670bae4
internal: golint updates for this or self warning (#16634)
kielbarry May 2, 2018
a7720b5
core: golint updates for this or self warning (#16633)
kielbarry May 2, 2018
579ac62
Merge pull request #16576 from CrispinFlowerday/bugfix/local_underpri…
karalabe May 2, 2018
5449139
Merge pull request #16569 from holiman/evm_blocknum
karalabe May 2, 2018
58c4e03
build: Add ldflags -s -w when building aar
ligi May 2, 2018
6a01363
Merge pull request #16644 from ligi/reduce_aar_size
karalabe May 2, 2018
5d4d79a
cmd/clef: documentation about setup (#16568)
holiman May 2, 2018
66432f3
params: release geth 1.8.7
karalabe May 2, 2018
ee00e53
Zero Block Reward Post Byzantium
TuitionCoin Apr 15, 2018
5d0e95c
Remove Difficulty Bomb
TuitionCoin Apr 15, 2018
83f0fb0
1 Second Block
TuitionCoin Apr 15, 2018
80b405c
Lower Minimum Difficulty (#4)
TuitionCoin Apr 15, 2018
def7154
1 Second Blocks (#5)
TuitionCoin Apr 15, 2018
21f17a6
Lower minimum difficulty (#6)
TuitionCoin Apr 29, 2018
e9610cb
Enable geth compile.solidity for rpc (#7)
TuitionCoin May 8, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
compression/rle: delete RLE compression (ethereum#16468)
  • Loading branch information
fjl authored Apr 9, 2018
commit 0fac705ed0a2efcda4da9dce8971bbda73f299d5
101 changes: 0 additions & 101 deletions compression/rle/read_write.go

This file was deleted.

50 changes: 0 additions & 50 deletions compression/rle/read_write_test.go

This file was deleted.

6 changes: 0 additions & 6 deletions ethdb/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,6 @@ func (db *LDBDatabase) Path() string {

// Put puts the given key / value to the queue
func (db *LDBDatabase) Put(key []byte, value []byte) error {
// Generate the data to write to disk, update the meter and write
//value = rle.Compress(value)

return db.db.Put(key, value, nil)
}

Expand All @@ -103,18 +100,15 @@ func (db *LDBDatabase) Has(key []byte) (bool, error) {

// Get returns the given key if it's present.
func (db *LDBDatabase) Get(key []byte) ([]byte, error) {
// Retrieve the key and increment the miss counter if not found
dat, err := db.db.Get(key, nil)
if err != nil {
return nil, err
}
return dat, nil
//return rle.Decompress(dat)
}

// Delete deletes the key from the queue and database
func (db *LDBDatabase) Delete(key []byte) error {
// Execute the actual operation
return db.db.Delete(key, nil)
}

Expand Down
15 changes: 2 additions & 13 deletions swarm/storage/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package storage
import (
"fmt"

"github.com/ethereum/go-ethereum/compression/rle"
"github.com/syndtr/goleveldb/leveldb"
"github.com/syndtr/goleveldb/leveldb/iterator"
"github.com/syndtr/goleveldb/leveldb/opt"
Expand All @@ -31,8 +30,7 @@ import (
const openFileLimit = 128

type LDBDatabase struct {
db *leveldb.DB
comp bool
db *leveldb.DB
}

func NewLDBDatabase(file string) (*LDBDatabase, error) {
Expand All @@ -42,16 +40,12 @@ func NewLDBDatabase(file string) (*LDBDatabase, error) {
return nil, err
}

database := &LDBDatabase{db: db, comp: false}
database := &LDBDatabase{db: db}

return database, nil
}

func (self *LDBDatabase) Put(key []byte, value []byte) {
if self.comp {
value = rle.Compress(value)
}

err := self.db.Put(key, value, nil)
if err != nil {
fmt.Println("Error put", err)
Expand All @@ -63,11 +57,6 @@ func (self *LDBDatabase) Get(key []byte) ([]byte, error) {
if err != nil {
return nil, err
}

if self.comp {
return rle.Decompress(dat)
}

return dat, nil
}

Expand Down