Péter Szilágyi
9027981280
cmd/gethrpctest: add missing chain configuration config field
9 years ago
Felix Lange
83877a0f9d
tests: remove eth, node, accounts dependencies
...
Unlocking the accounts in the test doesn't help with anything.
9 years ago
Bas van Kervel
aa9fff3e68
rpc: various fixes/enhancements
...
rpc: be less restrictive on the request id
rpc: improved documentation
console: upgrade web3.js to version 0.16.0
rpc: cache http connections
rpc: rename wsDomains parameter to wsOrigins
9 years ago
Bas van Kervel
3c5329599c
cmd/geth: add JS preload parameter
9 years ago
Bas van Kervel
4081868452
cmd/utils: bugfix where database is opened multiple times
9 years ago
Péter Szilágyi
c90fc3503d
cmd/geth: add missing gas target flag (fixing 0 convergence issue)
9 years ago
Felix Lange
cf842b3fe5
cmd/geth, eth: move --genesis deprecation warning to cmd/geth
...
This prevents display of the warning for --dev and --olympic.
9 years ago
Felix Lange
78b70d79ec
cmd/utils: fix geth startup with empty database
9 years ago
Jeffrey Wilcke
bbeaab7e64
cmd/utils, miner: A/B testing JIT VM. Disabled for miners
...
This PR introduces a 10% probability that you'll run the client with the
JIT enabled testing the new client and helps us potentially catch
errors when reported.
This feature is **disabled** for miners (disabling the JIT completely).
The JIT can however be force for miners if they enable both --jitvm and
--forcejit.
9 years ago
Jeffrey Wilcke
f0cbebb19f
core: added basic chain configuration
...
Added chain configuration options and write out during genesis database
insertion. If no "config" was found, nothing is written to the database.
Configurations are written on a per genesis base. This means
that any chain (which is identified by it's genesis hash) can have their
own chain settings.
9 years ago
Péter Szilágyi
b813e4d411
accounts/abi/bind, cmd/abigen: dedup structs, exclude patterns
9 years ago
Péter Szilágyi
73308dbe0e
accounts/abi/bind, cmd/abigen: port to templates, bind to solidity
9 years ago
Péter Szilágyi
86cfc22c79
accounts/abi/bind: constructor, auth utils and various backends
9 years ago
Péter Szilágyi
72826bb5ad
accounts/abi/bind, cmd/abigen: Go API generator around an EVM ABI
9 years ago
Jeffrey Wilcke
0cfa21fc7f
core, eth, cmd: temporary work around for enabling the jit
...
This commit serves as a temporary workaround for enabling the jit until
the block customisation PR is merged in.
9 years ago
Jeffrey Wilcke
14013372ae
core: Added EVM configuration options
...
The EVM is now initialised with an additional configured object that
allows you to turn on debugging options.
9 years ago
Ramesh Nair
6f30034413
cmd/utils: removed password line endings when not using liner.
9 years ago
Bas van Kervel
a7bae3b2a6
rpc/http: improve request handling
9 years ago
Jeffrey Wilcke
342ae7ce7d
core, core/vm, tests: changed the initialisation behaviour of the EVM
...
The EVM was previously initialised and created for every CALL, CALLCODE,
DELEGATECALL and CREATE. This PR changes this behaviour so that the same
EVM can be used through the session and beyond as long as the
Environment sticks around.
9 years ago
Felix Lange
c1343c8872
cmd/utils, internal/debug: show all stacks for 10x Ctrl-C induced panic
...
Go 1.6 only prints stacks for the current goroutine by default,
but for this panic we want to see all of them.
9 years ago
Péter Szilágyi
e90958cd29
cmd, eth, ethdb, node: prioritise chaindata for resources, bump cache
9 years ago
Bas van Kervel
0fd251c7f7
console: allow optional password on the command line
9 years ago
Kobi Gurkan
627c2311fb
cmd/utils: add --keystore
9 years ago
Jeffrey Wilcke
0d89e6c2f1
cmd/utils, params: homestead block
9 years ago
Jeffrey Wilcke
ab92678fb3
cmd/utils: lower the min accepted gas price for relay and GPO to 20 shannon
9 years ago
Jeffrey Wilcke
cec92f5940
cmd/geth: removed multiline support
...
When attempting to paste very long lines of text the REPL goes
completely fubar, never completing the paste. Removing the multiline
support "fixes" this.
Long lines of text are usually pasted when deploying contracts and as it
stands right now makes creating new contracts from the REPL impossible.
9 years ago
Ricardo Catalinas Jiménez
436fc8d76a
all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}()
...
As we aren't really using the standarized SHA-3
9 years ago
Gustav Simonsson
371871d685
parmas, crypto, core, core/vm: homestead consensus protocol changes
...
* change gas cost for contract creating txs
* invalidate signature with s value greater than secp256k1 N / 2
* OOG contract creation if not enough gas to store code
* new difficulty adjustment algorithm
* new DELEGATECALL op code
9 years ago
Felix Lange
ae5bc89cad
cmd/geth, jsre: improve auto-completion
9 years ago
Felix Lange
2abf1a36b9
cmd/geth: enable multi-line mode
...
This was requested by some users earlier but liner didn't support
it at the time. It does now.
9 years ago
Felix Lange
4063d30b5e
cmd/geth: gofmt js.go and rename ethereum.js to web3.js
...
Fixing the filename matters now because it will actually show
up in JS backtraces.
9 years ago
Péter Szilágyi
d6c6bcc9f3
cmd/geth: update monitor to new termui code
9 years ago
Péter Szilágyi
df75dbfd68
cmd, node, rpc: readd inproc RPC client, expose via node
9 years ago
Péter Szilágyi
900e124bee
cmd, common, node, rpc: rework naming convention to canonical one
9 years ago
Péter Szilágyi
7486904b92
cmd, node, rpc: move websockets into node, break singleton
9 years ago
Isidoro Ghezzi
cf47ef12d3
cmd/utils: fix jspath flag typo
9 years ago
Péter Szilágyi
a13bc9d7a1
cmd, common, node, rpc: move HTTP RPC into node, drop singletone aspect
9 years ago
Péter Szilágyi
188ab928c3
cmd, common, node, rpc: move IPC into the node itself
9 years ago
Péter Szilágyi
5da7ec7c18
cmd, eth, rpc: fix some RPC issues with pending blocks
9 years ago
Felix Lange
3750d835a1
internal/debug: APIs for profiling and tracing
...
The debug package provides an RPC wrapper for glog settings and the
debugging facilities of the Go runtime. They can be triggered through
both command line flags and the IPC listener.
9 years ago
Bas van Kervel
19b2640e89
rpc: migrated the RPC insterface to a new reflection based RPC layer
9 years ago
Bas van Kervel
cdd34fcb16
console: add admin.sleep and admin.sleepBlocks
9 years ago
Bas van Kervel
3c9a2c752f
console: bugfix that causes the console to crash when connection to an endpoint without the personal api enabled
9 years ago
Felix Lange
e6fb69296e
common: remove old RLP implementation, Value and ExtPackage
...
In order to make this happen, kill all remaining trivial uses of
common/{rlp,value}.go. The non-trivial ones have been updated earlier.
9 years ago
Péter Szilágyi
d8370a4e15
core, eth, node, rpc: port the admin and debug API
9 years ago
Bas van Kervel
eae81465c1
rpc: new RPC implementation with pub/sub support
9 years ago
Péter Szilágyi
03f090b30b
Makefile, cmd/geth: support building Android archives
9 years ago
Péter Szilágyi
0e4deeb6e7
Makefile, cmd/geth: assemble ios xcode frameworks
9 years ago
Felix Lange
d648e96b3d
cmd/utils: restore starting geth without any accounts and etherbase
...
Also remove some duplication around address/index parsing.
9 years ago
Bas van Kervel
1ead43c88c
console: fix instance name printed incorrect on start
9 years ago