aboutsummaryrefslogtreecommitdiffstats
path: root/common/bytes.go
Commit message (Collapse)AuthorAgeFilesLines
* internal/ethapi: add personal_sign and fix eth_sign to hash message (#2940)bas-vk2016-10-291-1/+1
| | | | | | | | | | | | | | | | | | | | 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.
* common: Remove dead codeRicardo Catalinas Jiménez2016-02-221-16/+0
|
* common: Remove empty linesRicardo Catalinas Jiménez2016-02-221-2/+0
|
* all: fix license headers one more timeFelix Lange2015-07-241-1/+1
| | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a.
* all: update license headers to distiguish GPL/LGPLFelix Lange2015-07-231-4/+4
| | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library".
* all: add some godoc synopsis commentsFelix Lange2015-07-071-0/+1
|
* all: update license informationFelix Lange2015-07-071-0/+16
|
* common: delete BinaryLengthFelix Lange2015-04-221-11/+0
| | | | | The test is failing the 32bit build and the function is not used anywhere.
* NatSpec contracts in genesis block, end to end test (unfinished)zsfelfoldi2015-04-201-0/+17
|
* Detect non-valid strings for blockheightTaylor Gerring2015-04-021-0/+5
|
* Move ToHex/FromHex into bytesTaylor Gerring2015-03-221-0/+22
|
* new type + additional methodsobscuren2015-03-161-1/+1
|
* Moved ethutil => commonobscuren2015-03-161-0/+234