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.
|
||
|---|---|---|
| .. | ||
| bind | ||
| abi_test.go | ||
| abi.go | ||
| argument.go | ||
| doc.go | ||
| error.go | ||
| event_test.go | ||
| event.go | ||
| method.go | ||
| numbers_test.go | ||
| numbers.go | ||
| packing.go | ||
| reflect.go | ||
| type.go | ||