erigon-pulse/internal
bas-vk b59c8399fb internal/ethapi: add personal_sign and fix eth_sign to hash message (#2940)
This commit includes several API changes:

- The behavior of eth_sign is changed. It now accepts an arbitrary
  message, prepends the well-known string

        \x19Ethereum Signed Message:\n<length of message>

  hashes the result using keccak256 and calculates the signature of
  the hash. This breaks backwards compatability!
  
- personal_sign(hash, address [, password]) is added. It has the same
  semantics as eth_sign but also accepts a password. The private key
  used to sign the hash is temporarily unlocked in the scope of the
  request.
  
- personal_recover(message, signature) is added and returns the
  address for the account that created a signature.
2016-10-28 21:25:49 +02:00
..
build Godeps, vendor: convert dependency management to trash (#3198) 2016-10-28 19:05:01 +02:00
debug metrics, internal/debug: Add --pprofaddr flag, expose metrics via gexp 2016-10-14 12:29:08 +01:00
ethapi internal/ethapi: add personal_sign and fix eth_sign to hash message (#2940) 2016-10-28 21:25:49 +02:00
jsre common,internal: typo/misspelling fixes (#2953) 2016-08-27 15:05:09 +03:00
web3ext internal/ethapi: add personal_sign and fix eth_sign to hash message (#2940) 2016-10-28 21:25:49 +02:00