Vitaly Bogdanov
5429dc75bd
cmd/abigen: allow using `abigen --pkg` flag with standard input ( #19207 )
6 years ago
Péter Szilágyi
c4de228e18
Merge pull request #19630 from karalabe/fix-commit-strings
...
internal/build: fix Travis and AppVeyor commit string injection
6 years ago
Péter Szilágyi
f0bced30bb
internal/build: fix Travis and AppVeyor commit string injection
6 years ago
Péter Szilágyi
f8a4e37968
Merge pull request #19629 from karalabe/duktape-2.3.0
...
vendor: update go-duktape to v2.3.0
6 years ago
Péter Szilágyi
17cf0e5863
Merge pull request #19524 from gballet/scwallet-puk-count
...
accounts/scwallet: Display PUK retry count
6 years ago
Péter Szilágyi
7bc1cb3677
accounts/scwallet: fix public key confirmation regression
6 years ago
Guillaume Ballet
75a860880c
accounts/scwallet: display PUK retry count, validate PIN/PUK length
6 years ago
Péter Szilágyi
9cd338054f
vendor: update go-duktape to v2.3.0
6 years ago
Péter Szilágyi
fc85777a21
core: concurrent database reinit from freezer dump
...
* core: reinit chain from freezer in batches
* core/rawdb: concurrent database reinit from freezer dump
* core/rawdb: reinit from freezer in sequential order
6 years ago
Jeremy Schlatter
a184ab7a61
accounts/keystore: enable fallback for darwin,!cgo ( #19614 )
...
Without this, accounts/keystore fails to build for Darwin with
CGO_ENABLED=0.
6 years ago
Péter Szilágyi
db0cc211f7
Merge pull request #19628 from karalabe/nofreeze-genesis
...
core/rawdb: keep genesis in key-value store for full sync too
6 years ago
Péter Szilágyi
7392f59e7c
core/rawdb: keep genesis in key-value store for full sync too
6 years ago
gary rong
611113e967
core: never delete genesis block ( #19617 )
6 years ago
gary rong
4e0c1a1a6b
eth, les: reject light client connection is server is not synced ( #19616 )
...
* eth, les: reject light client connection is server is not synced
* eth, les: rename function and variables
* les: format
6 years ago
Péter Szilágyi
922e757f19
accounts/usbwallet: enable the Nano X and upcoming Ledger IDs ( #19623 )
6 years ago
Martin Holst Swende
fec3b56f7f
accounts, p2p, rpc: make CGO_ENABLED=0 build again ( #19593 )
...
* p2p: remove direct import of cgo-library
* accounts, rpc: more nocgo alternatives
* rpc: move unix path constant into separate file
* accounts/scwallet: address review concerns, remove copy-pasta
6 years ago
Antoine Rondelet
9efc1a847e
crypto/bn256/cloudflare: checks for nil pointers in Marshal functions ( #19609 )
...
* Added checks for nil pointers in Marshal functions
* Set nil pointer to identity in GT before marshaling
6 years ago
Mohanson
4b622b277e
core/state: unified function receiver names ( #19615 )
6 years ago
Martin Holst Swende
2cd6059e51
tests: make transaction tests run again, fix #19033 ( #19529 )
...
* tests: make transaction tests run again, fix #19033
* tests: refactor transaction tests
6 years ago
Nikifor Seryakov
a54142987c
log: do not pad values longer than 40 characters ( #19592 )
...
* log: Do not pad too long values
* log: gofmt
6 years ago
Nikita Kryuchkov
4cf8505d22
build: fix Launchpad typo ( #19597 )
6 years ago
Felföldi Zsolt
97d3615612
les: avoid fetcher deadlock on requestChn ( #19571 )
...
* les: avoid fetcher deadlock on requestChn
6 years ago
manlio
e687d063c3
accounts/abi: fix TestUnpackMethodIntoMap ( #19484 )
6 years ago
Anton Evangelatov
509facd631
swarm/version: v0.4.1 unstable ( #19587 )
6 years ago
Anton Evangelatov
c3b317a4fc
swarm/version: v0.4.0 stable ( #19586 )
6 years ago
Péter Szilágyi
2f855bfa28
Merge pull request #19591 from karalabe/64bit-align
...
core/rawdb, eth/downloader: align 64bit atomic fields
6 years ago
Anton Evangelatov
8cce620311
build: disable swarm packages ( #19585 )
...
* build: disable swarm packages
* build: remove allCrossCompiledArchiveFiles; inline allToolsArchiveFiles
* build: get rid of some superfluous comments
6 years ago
Péter Szilágyi
f35975ea21
core/rawdb, eth/downloader: align 64bit atomic fields
6 years ago
Péter Szilágyi
f5d89cdb72
Merge pull request #19244 from karalabe/freezer-2
...
cmd, core, eth, les, node: chain freezer on top of db rework
6 years ago
Anton Evangelatov
60386b3545
swarm/network: bump network id for 0.4 release ( #19580 )
...
* swarm/network: bump network id for 0.4 release
* swarm/network: bump bzz protocol version
* swarm/docs: migration document v0.3 to v0.4
* swarm/storage/feed: gofmt lookup_test.go
6 years ago
Péter Szilágyi
9eba3a9fff
cmd/geth, core/rawdb: seamless freezer consistency, friendly removedb
6 years ago
Javier Peletier
1e067202a2
swarm/feeds: Parallel feed lookups ( #19414 )
6 years ago
Péter Szilágyi
536b3b416c
cosensus, core, eth, params, trie: fixes + clique history cap
6 years ago
gary rong
37d280da41
core, cmd, vendor: fixes and database inspection tool ( #15 )
...
* core, eth: some fixes for freezer
* vendor, core/rawdb, cmd/geth: add db inspector
* core, cmd/utils: check ancient store path forceily
* cmd/geth, common, core/rawdb: a few fixes
* cmd/geth: support windows file rename and fix rename error
* core: support ancient plugin
* core, cmd: streaming file copy
* cmd, consensus, core, tests: keep genesis in leveldb
* core: write txlookup during ancient init
* core: bump database version
6 years ago
Martin Holst Swende
42c746d6f4
freezer: disable compression on hashes and difficulties ( #14 )
...
* freezer: disable compression on hashes and difficulties
* core/rawdb: address review concerns
* core/rawdb: address review concerns
6 years ago
Martin Holst Swende
331de17e4d
core/rawdb: support starting offset for future deletion
6 years ago
gary rong
80469bea0c
all: integrate the freezer with fast sync
...
* all: freezer style syncing
core, eth, les, light: clean up freezer relative APIs
core, eth, les, trie, ethdb, light: clean a bit
core, eth, les, light: add unit tests
core, light: rewrite setHead function
core, eth: fix downloader unit tests
core: add receipt chain insertion test
core: use constant instead of hardcoding table name
core: fix rollback
core: fix setHead
core/rawdb: remove canonical block first and then iterate side chain
core/rawdb, ethdb: add hasAncient interface
eth/downloader: calculate ancient limit via cht first
core, eth, ethdb: lots of fixes
* eth/downloader: print ancient disable log only for fast sync
6 years ago
rjl493456442
b6cac42e9f
core/rawdb: add file lock for freezer
6 years ago
Martin Holst Swende
b69bdc2a4f
freezer: implement split files for data
...
* freezer: implement split files for data
* freezer: add tests
* freezer: close old head-file when opening next
* freezer: fix truncation
* freezer: more testing around close/open
* rawdb/freezer: address review concerns
* freezer: fix minor review concerns
* freezer: fix remaining concerns + testcases around truncation
* freezer: docs
* freezer: implement multithreading
* core/rawdb: fix freezer nitpicks + change offsets to uint32
* freezer: preopen files, simplify lock constructs
* freezer: delete files during truncation
6 years ago
Péter Szilágyi
006c21efc7
cmd, core, eth, les, node: chain freezer on top of db rework
6 years ago
Martin Holst Swende
0c5f8c078a
accounts,signer: better support for EIP-191 intended validator ( #19523 )
6 years ago
Felix Lange
b548b5aeb0
p2p/discover: fix crash in Resolve ( #19579 )
6 years ago
Anton Evangelatov
4b9c3bd39a
swarm/storage: disable open tracing on indices ( #19578 )
6 years ago
Anton Evangelatov
9b0d1b9ab2
swarm/metrics: collect metrics on datadir disk usage ( #19576 )
6 years ago
Felix Lange
350a87dd3c
p2p/discover: add support for EIP-868 (v4 ENR extension) ( #19540 )
...
This change implements EIP-868. The UDPv4 transport announces support
for the extension in ping/pong and handles enrRequest messages.
There are two uses of the extension: If a remote node announces support
for EIP-868 in their pong, node revalidation pulls the node's record.
The Resolve method requests the record unconditionally.
6 years ago
Felix Lange
8deec2e45a
rlp: fixes for two corner cases and documentation ( #19527 )
...
These changes fix two corner cases related to internal handling of types
in package rlp: The "tail" struct tag can only be applied to the last field.
The check for this was wrong and didn't allow for private fields after the
field with the tag. Unsupported types (e.g. structs containing int) which
implement either the Encoder or Decoder interface but not both
couldn't be encoded/decoded.
Also fixes #19367
6 years ago
Jeremy Schlatter
184af72e4e
accounts/abi: fix documentation ( #19568 )
6 years ago
Péter Szilágyi
07d2d83c31
Merge pull request #19563 from karalabe/faucet-remove-g+-mention
...
cmd/faucet: remove Google+ mention from web assets too
6 years ago
Péter Szilágyi
9effd64290
core, eth, trie: bloom filter for trie node dedup during fast sync ( #19489 )
...
* core, eth, trie: bloom filter for trie node dedup during fast sync
* eth/downloader, trie: address review comments
* core, ethdb, trie: restart fast-sync bloom construction now and again
* eth/downloader: initialize fast sync bloom on startup
* eth: reenable eth/62 until we properly remove it
6 years ago
Péter Szilágyi
f22c00b161
cmd/faucet: remove Google+ mention from web assets too
6 years ago