Armin Braun
50df2b78be
console: create datadir at startup ( #15700 )
...
Fixes #15672 by creating the datadir when creating the
console. This prevents failing to save the history if no datadir
exists.
7 years ago
Sorin Neacsu
586198ccea
console: add admin.clearHistory command ( #15614 )
7 years ago
Ricardo Domingos
9ff9d04a69
all: fix code comment typos ( #15547 )
...
* console: fix typo in comment
* contracts/release: fix typo in comment
* core: fix typo in comment
* eth: fix typo in comment
* miner: fix typo in comment
7 years ago
Péter Szilágyi
db568a61e2
accounts, console, internal: support trezor hardware wallet
7 years ago
Felix Lange
1886d03faa
console, internal/web3ext: remove bzz and ens extensions ( #3602 )
...
web3.js includes bzz methods and throws an error when the extension
module is reregistered. The ENS RPC API is deprecated and not exposed by
anything.
8 years ago
Felix Lange
b9b3efb09f
all: fix ineffectual assignments and remove uses of crypto.Sha3
...
go get github.com/gordonklaus/ineffassign
ineffassign .
8 years ago
Felix Lange
f2da6581ba
all: fix issues reported by honnef.co/go/simple/cmd/gosimple
8 years ago
Felix Lange
b8bd9a71c8
all: update license information
8 years ago
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
Felix Lange
91b7690428
rpc: add new client, use it everywhere
...
The new client implementation supports concurrent requests,
subscriptions and replaces the various ad hoc RPC clients
throughout go-ethereum.
8 years ago
Bas van Kervel
dbcdf83ed8
console: ignore round and curly brackets in strings when determining indentation level
9 years ago
Péter Szilágyi
d251d48439
console: fix windows color transformation issue
9 years ago
Felix Lange
ad0e6e971e
console: remove unnecessary JS evaluation in Welcome
9 years ago
Péter Szilágyi
da729e5b38
cmd/geth, console: fix reviewer issues
9 years ago
Péter Szilágyi
14ae5708d6
console, internal/jsre: colorize JavaScript exceptions too
9 years ago
Péter Szilágyi
ffaf58f0a9
cmd, console: split off the console into a reusable package
9 years ago