Felix Lange
896322bf88
cmd/devp2p: add devp2p debug tool ( #19657 )
...
* p2p/discover: export Ping and RequestENR
These two are useful for checking the status of a node.
* cmd/devp2p: add devp2p debug tool
This is a new tool for debugging p2p issues. It supports a few
basic tasks for now, but many more things can and will be added
in the near future.
devp2p enrdump -- prints ENRs readably
devp2p discv4 ping -- checks if a node is up
devp2p discv4 requestenr -- gets a node's record
devp2p discv4 resolve -- finds a node through the DHT
6 years ago
Guillaume Ballet
1b15c6da33
accounts/scwallet: Disable macos support ( #19679 )
6 years ago
Péter Szilágyi
ce43c2366d
Merge pull request #19681 from karalabe/fix-libusb-docker
...
vendor: pull in USB fix for docker (alpine/musl)
6 years ago
Péter Szilágyi
9805288cdd
vendor: pull in USB fix for docker (alpine/musl)
6 years ago
Martin Holst Swende
a4eeeedb37
params: add new bootnodes
6 years ago
Ethan Heilman
19fa9064d7
SECURITY.md: create security policy ( #19666 )
...
Github has started supporting SECURITY.md to contain a project's security policy. Adding this information to the repository makes it easier to determine how to disclosure a vulnerability as SECURITY.md becomes a standard.
The pgp fingerprint and key is taken from bounty.ethereum.org.
6 years ago
Péter Szilágyi
f01f3f266c
Merge pull request #19674 from karalabe/usb-ios-fixup
...
vendor: pull fixed usb library for nocgo builds
6 years ago
Péter Szilágyi
c52390d078
vendor: pull fixed usb library for nocgo builds
6 years ago
Nguyen Kien Trung
2823ce0086
eth: check for DefaultConfig.NetworkId in test ( #17599 )
...
This makes the test work if NetworkId is changed in forks of go-ethereum.
6 years ago
Péter Szilágyi
30c2b1b06d
Merge pull request #19671 from holiman/usbfix
...
account/usbwallet: abort usb enumeration after failures
6 years ago
Martin Holst Swende
2fae1bde42
account/usbwallet: abort usb enumeration after failures
6 years ago
Guillaume Ballet
b8ca3cb7d2
cmd/clef: enable smartcard hub ( #19649 )
...
* cmd/clef: Enable smartcard hub
* clef: don't error is pcsc is not installed
6 years ago
ledgerwatch
7c9307c683
cmd: Add retesteth command (to support execution and generation of tests via retesteth) ( #19631 )
...
* Add retesteth command
* Remove label and insert full version
* mineBlock - break the inner loop when the block is full
* Fixes for touched non-reward accounts, gas limit issues
* Not fail when SendTx has transaction with incorrect RLP
* Fix linter (unnecessary conversion)
* retesteth: add usage string to flag
6 years ago
gary rong
7641bbe535
eth/downloader: make syncing error more obvious ( #19413 )
6 years ago
Martin Holst Swende
645756cda5
cmd/utils: close quote ( #19665 )
6 years ago
Guillaume Ballet
d97f0372b1
accounts/scwallet: don't error when pcsc socket is missing ( #19662 )
...
* scwallet: don't error when pcsc socket is missing
* review feedback
* more review feedback
6 years ago
Péter Szilágyi
de38a1dbd4
Merge pull request #19588 from gballet/trezor-fix-ownlib
...
accounts/usbwallet: add webusb trezor support
6 years ago
Péter Szilágyi
5d68400cad
accounts/usbwallet, vendor: switch from HID to generic USB lib
6 years ago
Rafael Matias
42b81f94ad
swarm: code cleanup, move to ethersphere/swarm ( #19661 )
6 years ago
Dmitry Shulyak
15f24ff189
ethclient: ensure tx json is not nil before accessing it ( #19653 )
...
TransactionInBlock crashed if json was nil and there was an error
because it tried to access fields `From` and `BlockHash` of the nil object.
6 years ago
Martin Holst Swende
17381ecc66
core/signer, clef: improve ui-test flow, fix errors in uint handling ( #19584 )
...
* core/signer, clef: improve ui-test flow, fix errors in uint handling for eip-712
* core/signer: add fuzzer testcases + crashfixes
* signer: address review concerns, check sign in integer parsing
6 years ago
Péter Szilágyi
b4cc7b660c
accounts/usbwallet: recreate Trezor protocol, support old and new
6 years ago
Guillaume Ballet
4799b5abd4
accounts/usbwallet: support webusb for Trezor wallets
6 years ago
Guillaume Ballet
7a22da98b9
accounts/scwallet: flag to specify path to smartcard daemon ( #19439 )
...
* accounts/scwallet: Add a switch to enable smartcard support
* accounts: change the meaning of the switch
* disable card support in windows until tested
* only activate account if pcscd socket file is present
* the switch is now the path to the socket file
* accounts/scwallet: holiman's review feedback
* accounts/scwallet: send the path to go-pcsclite
* accounts/scwallet: add default, per platform path
* accounts/scwallet: fix error log warning
* accounts/scwallet: update pcsc lib to latest
* accounts/scwallet: use default path from pcsclite
* scwallet: forgot to change switch name
* cmd: minor style cleanups (error handling first, then happy path)
6 years ago
Anton Evangelatov
30263ad37d
swarm/storage: set false, only when we get a chunk back ( #19599 )
6 years ago
gary rong
f2612ac948
les: short circuit in the unregister if peer is not registered ( #19644 )
6 years ago
Felföldi Zsolt
58497f46bd
les, les/flowcontrol: implement LES/3 ( #19329 )
...
les, les/flowcontrol: implement LES/3
6 years ago
Adam Schmideg
3d58268bba
github: update code owners ( #19638 )
...
* Update codeowners
* Add karalabe to clique
* remove codeowner for consensus/clique
6 years ago
Elad
008d250e3c
swarm/api/http: fix bzz-hash to return ens resolved hash directly ( #19594 )
6 years ago
Rafael Matias
cf38a3dc65
swarm/api: update mission statement ( #19612 )
6 years ago
Guillaume Ballet
048df258dc
accounts/scwallet: change sc url scheme to keycard ( #19632 )
6 years ago
Antoine Rondelet
2388e425f2
crypto/bn256/cloudflare: fix comments to describe the updated curve parameters ( #19577 )
...
* Removed comment section referring to Cloudflare's bn curve parameters
* Added comment to clarify the nature of the parameters
* Changed value of xi to i+9
6 years ago
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