op-geth/crypto
Jeffrey Wilcke 10a57fc3d4 consensus, core/*, params: metropolis preparation refactor
This commit is a preparation for the upcoming metropolis hardfork. It
prepares the state, core and vm packages such that integration with
metropolis becomes less of a hassle.

* Difficulty calculation requires header instead of individual
  parameters
* statedb.StartRecord renamed to statedb.Prepare and added Finalise
  method required by metropolis, which removes unwanted accounts from
  the state (i.e. selfdestruct)
* State keeps record of destructed objects (in addition to dirty
  objects)
* core/vm pre-compiles may now return errors
* core/vm pre-compiles gas check now take the full byte slice as argument
  instead of just the size
* core/vm now keeps several hard-fork instruction tables instead of a
  single instruction table and removes the need for hard-fork checks in
  the instructions
* core/vm contains a empty restruction function which is added in
  preparation of metropolis write-only mode operations
* Adds the bn256 curve
* Adds and sets the metropolis chain config block parameters (2^64-1)
2017-05-18 09:05:58 +02:00
..
bn256 consensus, core/*, params: metropolis preparation refactor 2017-05-18 09:05:58 +02:00
ecies crypto: add btcec fallback for sign/recover without cgo (#3680) 2017-02-18 09:24:12 +01:00
randentropy crypto: Remove dead code 2016-02-21 22:46:31 +00:00
secp256k1 all: unify big.Int zero checks, use common/math in more places (#3716) 2017-02-28 15:09:11 +01:00
sha3 crypto, pow: add pure Go implementation of ethash 2017-03-09 15:50:14 +01:00
crypto.go crypto, pow, vendor: hash optimizations, mmap ethash 2017-03-09 15:50:14 +01:00
crypto_test.go crypto: add btcec fallback for sign/recover without cgo (#3680) 2017-02-18 09:24:12 +01:00
signature_cgo.go all: update license information 2017-04-14 10:29:00 +02:00
signature_nocgo.go all: update license information 2017-04-14 10:29:00 +02:00
signature_test.go all: update license information 2017-04-14 10:29:00 +02:00