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.
8 years ago
Ricardo Catalinas Jiménez
e6af65d02a
common: Remove dead code
9 years ago
Ricardo Catalinas Jiménez
fbf3b2ede2
common: Remove empty lines
9 years ago
Felix Lange
bfbcfbe4a9
all: fix license headers one more time
...
I forgot to update one instance of "go-ethereum" in commit 3f047be5a
.
9 years ago
Felix Lange
3f047be5aa
all: update license headers to distiguish GPL/LGPL
...
All code outside of cmd/ is licensed as LGPL. The headers
now reflect this by calling the whole work "the go-ethereum library".
9 years ago
Felix Lange
bdae4fd573
all: add some godoc synopsis comments
10 years ago
Felix Lange
ea54283b30
all: update license information
10 years ago
Felix Lange
9d152d6191
common: delete BinaryLength
...
The test is failing the 32bit build and the function
is not used anywhere.
10 years ago
zsfelfoldi
e2d333d209
NatSpec contracts in genesis block, end to end test (unfinished)
10 years ago
Bas van Kervel
ef393da933
removed utility function and implemented hex conversation in crypto functions
10 years ago
Bas van Kervel
b3a3fdf9a4
Support for import/export hex encoded keys, closes #635
10 years ago
Taylor Gerring
aa71e27a3b
Detect non-valid strings for blockheight
10 years ago
Taylor Gerring
08b21acff1
Move ToHex/FromHex into bytes
10 years ago
obscuren
f486c0ae56
new type + additional methods
10 years ago
obscuren
b523441361
Moved ethutil => common
10 years ago
obscuren
b55e017e62
Proper delete
10 years ago
obscuren
33a0dec8a1
Improved catching up and refactored
10 years ago
obscuren
eaa2e8900d
PoC 6 networking code.
...
* Added block pool for gathering blocks from the network (chunks)
* Re wrote syncing
10 years ago
obscuren
55a2f35a64
JS Filter
10 years ago
obscuren
5a2d62e4d9
Added better data parser
10 years ago
obscuren
5ca2938117
Fixed
10 years ago
obscuren
6fd2401cdf
Fixed issue with var int reading.
...
Reading uneven byte slices were broken.
10 years ago
obscuren
41bd38147c
Clean up and util methods
10 years ago
obscuren
a626b7ebe1
Fixed string data
11 years ago
obscuren
ed3424ff75
Trie fixes
11 years ago
obscuren
14c4f06100
Convert a byte slice to address
11 years ago
obscuren
1954ef47e6
Suicide is deferred to update
11 years ago
obscuren
d7e396a98c
l <=> r
11 years ago
obscuren
28ef7d228c
Added Left and Right padding utility functions
11 years ago
zelig
5c1e0a6dc4
move ethutil hex conversion functions to bytes
11 years ago
obscuren
2fbcfd8824
Proper checks for multiple data items. Fixes #80
11 years ago
obscuren
4d98762486
Fixed state object gas return
11 years ago
obscuren
a98e35d7a0
Length checking
11 years ago
obscuren
65722aeeca
Added StringToBytesFunc
11 years ago
obscuren
14a6e6a9ce
Added the ability to submit byte code for contracts instead of Mutan code.
11 years ago
obscuren
38d6b67b5c
Fixed state problem
11 years ago
obscuren
338b698091
Refactoring and added documentation comments
11 years ago
obscuren
f6d1bfe45b
The great merge
11 years ago