Commit graph

11030 commits

Author SHA1 Message Date
Jaynti Kanani
4deebaedf4
repeat log for test 2019-09-29 02:10:09 +05:30
Jaynti Kanani
f5c8b15722
Merge branch 'bor' of github.com:maticnetwork/go-ethereum into bor-consensus-fix 2019-09-26 14:43:57 +05:30
Jaynti Kanani
dae44a2a9c
add more logs 2019-09-26 14:42:33 +05:30
Jaynti Kanani
374e438f42
use wiggle as 2*period 2019-09-26 13:54:12 +05:30
Jaynti Kanani
6cc7e88e94
remove log 2019-09-26 12:49:35 +05:30
Jaynti Kanani
25a8cb4766
fix puppeth 2019-09-25 20:34:04 +05:30
Jaynti Kanani
48c0745964
fix :) 2019-09-25 19:16:36 +05:30
vaibhavchellani
bb11e7b0c3 updated dockerfile 2019-09-25 16:11:57 +05:30
Jaynti Kanani
3b49df58f7
Merge pull request #3 from maticnetwork/first_end_block
First end block
2019-09-20 17:56:09 +05:30
venkatesh mankena
0edf50b540 initial span size condition change 2019-09-20 17:54:01 +05:30
venkatesh mankena
ee77e5bd0f removing unwanted logs 2019-09-20 17:51:21 +05:30
venkatesh mankena
ad215df33b fix first_end_block 2019-09-20 17:33:59 +05:30
venkatesh mankena
a4be27641a udpated bor.go to fetch firstEndBlock 2019-09-20 14:39:09 +05:30
Jaynti Kanani
769e99b1eb
Merge pull request #2 from maticnetwork/bor-1.9
bor changes
2019-09-18 18:07:02 +05:30
Jaynti Kanani
3e8e4dfe88
bor changes 2019-09-04 19:20:28 +05:30
Jaynti Kanani
4bfc699a9e
Merge pull request #1 from maticnetwork/bor-1.9
Merge release/1.9
2019-07-17 15:48:06 +05:30
Jaynti Kanani
cc9b230fc0
merge release/1.9 2019-07-14 15:55:04 +05:30
Jaynti Kanani
73d080c125
fix difficulty 2019-06-26 15:08:02 +05:30
Jaynti Kanani
f12ae309cf
fix block time bug 2019-06-21 17:40:23 +05:30
Jaynti Kanani
ad198aeefd
bor validator set 2019-06-15 19:56:16 +05:30
Jaynti Kanani
e522930bc9
use epoch 2019-06-13 23:02:04 +05:30
Jaynti Kanani
a02da31b3b
Merge branch 'master' of https://github.com/ethereum/go-ethereum into bor 2019-06-09 21:53:52 +05:30
Jaynti Kanani
ceae9134b9
validator contract 2019-06-09 21:47:25 +05:30
Marius van der Wijden
6f80629383 accounts: added transactorFromKeyStore (#19685) 2019-06-08 15:19:26 +02:00
Felix Lange
afb9e6513f vendor: remove unused dependencies (#19683)
* vendor: remove unused dependencies

These were used by swarm code, which has now migrated to its own repository.

* travis.yml: remove sudo requirement for test builders

These needed sudo to run FUSE tests for swarm.
2019-06-07 17:51:18 +03:00
Felix Lange
e83c3ccc47
p2p/enode: improve IPv6 support, add ENR text representation (#19663)
* p2p/enr: add entries for for IPv4/IPv6 separation

This adds entry types for "ip6", "udp6", "tcp6" keys. The IP type stays
around because removing it would break a lot of code and force everyone
to care about the distinction.

* p2p/enode: track IPv4 and IPv6 address separately

LocalNode predicts the local node's UDP endpoint and updates the record.
This change makes it predict IPv4 and IPv6 endpoints separately since
they can now be in the record at the same time.

* p2p/enode: implement base64 text format
* all: switch to enode.Parse(...)

This allows passing base64-encoded node records to all the places that
previously accepted enode:// URLs. The URL format is still supported.

* cmd/bootnode, p2p: log node URL instead of ENR

...and return the base64 record in NodeInfo.
2019-06-07 15:31:00 +02:00
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
2019-06-07 15:29:16 +02:00
Guillaume Ballet
1b15c6da33 accounts/scwallet: Disable macos support (#19679) 2019-06-07 12:41:54 +03:00
Péter Szilágyi
ce43c2366d
Merge pull request #19681 from karalabe/fix-libusb-docker
vendor: pull in USB fix for docker (alpine/musl)
2019-06-07 12:37:32 +03:00
Péter Szilágyi
9805288cdd
vendor: pull in USB fix for docker (alpine/musl) 2019-06-07 12:30:50 +03:00
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.
2019-06-06 14:40:52 +02:00
Péter Szilágyi
f01f3f266c
Merge pull request #19674 from karalabe/usb-ios-fixup
vendor: pull fixed usb library for nocgo builds
2019-06-06 12:50:03 +03:00
Péter Szilágyi
c52390d078
vendor: pull fixed usb library for nocgo builds 2019-06-06 12:25:32 +03:00
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.
2019-06-06 10:49:35 +02:00
Péter Szilágyi
30c2b1b06d
Merge pull request #19671 from holiman/usbfix
account/usbwallet: abort usb enumeration after failures
2019-06-05 16:52:31 +03:00
Martin Holst Swende
2fae1bde42
account/usbwallet: abort usb enumeration after failures 2019-06-05 16:48:09 +03:00
Guillaume Ballet
b8ca3cb7d2 cmd/clef: enable smartcard hub (#19649)
* cmd/clef: Enable smartcard hub

* clef: don't error is pcsc is not installed
2019-06-05 15:27:37 +02:00
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
2019-06-05 14:03:23 +02:00
gary rong
7641bbe535 eth/downloader: make syncing error more obvious (#19413) 2019-06-05 14:00:46 +02:00
Martin Holst Swende
645756cda5
cmd/utils: close quote (#19665) 2019-06-04 21:17:12 +02:00
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
2019-06-04 18:40:34 +03:00
Péter Szilágyi
de38a1dbd4
Merge pull request #19588 from gballet/trezor-fix-ownlib
accounts/usbwallet: add webusb trezor support
2019-06-04 18:06:11 +03:00
Péter Szilágyi
5d68400cad
accounts/usbwallet, vendor: switch from HID to generic USB lib 2019-06-04 18:04:55 +03:00
Rafael Matias
42b81f94ad swarm: code cleanup, move to ethersphere/swarm (#19661) 2019-06-04 16:35:36 +03:00
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.
2019-06-03 17:52:02 +02:00
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
2019-06-03 16:56:05 +02:00
Péter Szilágyi
b4cc7b660c
accounts/usbwallet: recreate Trezor protocol, support old and new 2019-06-03 16:08:04 +03:00
Guillaume Ballet
4799b5abd4
accounts/usbwallet: support webusb for Trezor wallets 2019-06-03 16:08:03 +03:00
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)
2019-05-31 12:30:28 +03:00
Anton Evangelatov
30263ad37d
swarm/storage: set false, only when we get a chunk back (#19599) 2019-05-31 11:13:34 +02:00