lightclient
bbfb1e4008
all: add support for EIP-2718, EIP-2930 transactions ( #21502 )
...
This adds support for EIP-2718 typed transactions as well as EIP-2930
access list transactions (tx type 1). These EIPs are scheduled for the
Berlin fork.
There very few changes to existing APIs in core/types, and several new APIs
to deal with access list transactions. In particular, there are two new
constructor functions for transactions: types.NewTx and types.SignNewTx.
Since the canonical encoding of typed transactions is not RLP-compatible,
Transaction now has new methods for encoding and decoding: MarshalBinary
and UnmarshalBinary.
The existing EIP-155 signer does not support the new transaction types.
All code dealing with transaction signatures should be updated to use the
newer EIP-2930 signer. To make this easier for future updates, we have
added new constructor functions for types.Signer: types.LatestSigner and
types.LatestSignerForChainID.
This change also adds support for the YoloV3 testnet.
Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Felix Lange <fjl@twurst.com>
Co-authored-by: Ryan Schneider <ryanleeschneider@gmail.com>
4 years ago
Alex Prut
810f9e057d
all: remove redundant conversions and import names ( #21903 )
4 years ago
mr_franklin
66c3eb2f1a
accouts, consensus, core: fix some comments ( #21617 )
4 years ago
Martin Michlmayr
4f2784b38f
all: fix typos in comments ( #21118 )
5 years ago
Felix Lange
c8e9a91672
build: upgrade to golangci-lint 1.24.0 ( #20901 )
...
* accounts/scwallet: remove unnecessary uses of fmt.Sprintf
* cmd/puppeth: remove unnecessary uses of fmt.Sprintf
* p2p/discv5: remove unnecessary use of fmt.Sprintf
* whisper/mailserver: remove unnecessary uses of fmt.Sprintf
* core: goimports -w tx_pool_test.go
* eth/downloader: goimports -w downloader_test.go
* build: upgrade to golangci-lint 1.24.0
5 years ago
Guillaume Ballet
54d332e1db
accounts/scwallet: fix staticcheck warnings ( #20370 )
5 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
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
Guillaume Ballet
a1c5017bc5
accounts/scwallet: fix card pairing instruction message ( #19436 )
6 years ago
Péter Szilágyi
ae7344d799
accounts: switch Ledger derivation path to canonical one
6 years ago
Péter Szilágyi
8cf764da89
Revert "Can now specify the number of empty accounts to derive"
...
This reverts commit 5b30aa59d6
.
6 years ago
Guillaume Ballet
5b30aa59d6
Can now specify the number of empty accounts to derive
6 years ago
Guillaume Ballet
8c786a1f99
refresh the account list when initializing the card
6 years ago
Guillaume Ballet
79f4cfac2e
refuse to overwrite the master key of a previously initialized card
6 years ago
Guillaume Ballet
714675cd2a
Upgrade to keycard app v2.1.1
6 years ago
Guillaume Ballet
35b80f1865
Fix linter issues
6 years ago
Guillaume Ballet
bcf3c52ac9
PK derivation has to be supported by the card
6 years ago
Guillaume Ballet
ec4fba83d4
Formatting fixes
6 years ago
Guillaume Ballet
e273031dce
Fix key derivation
6 years ago
Guillaume Ballet
7ec6fa03d3
fix wallet status update
...
This is a temporary fix, better checks need to
be performed once the whole process has been
validated.
6 years ago
Guillaume Ballet
42c76a2ba1
Temporary fix to the ADBU status call
6 years ago
Guillaume Ballet
5617dca1c9
Remove the direct dependency on libpcsclite
...
Instead, use a go library that communicates with pcscd over a socket.
Also update the changes introduced by @gravityblast since this PR's
inception
6 years ago
Guillaume Ballet
ae82c58631
Fix some linter issues
6 years ago
Guillaume Ballet
7b230b7ef1
accounts/scwallet: rebase and update
6 years ago
Péter Szilágyi
a900e80a89
accounts/scwallet: fix crypto API change
6 years ago
Péter Szilágyi
7d5886dcf4
accounts, console: frendly card errors, support pin unblock
6 years ago
Péter Szilágyi
386943943f
accounts/scwallet: ordered wallets, tighter events, derivation logs
6 years ago
Péter Szilágyi
114de0fe2a
accounts/scwallet, console: user friendly card opening
6 years ago
Nick Johnson
78375608a4
accounts, internal: Changes in response to review
6 years ago
Nick Johnson
f7027dd68c
accounts, core, internal, node: Add support for smartcard wallets
6 years ago