Felix Lange
e221a449e0
cmd/geth, jsre, rpc: run all JS code on the event loop
...
Some JSRE methods (PrettyPrint, ToVal) bypassed the event loop. All
calls to the JS VM are now wrapped. In order to make this somewhat more
foolproof, the otto VM is now a local variable inside the event loop.
2015-05-25 02:27:37 +02:00
zelig
bed80133e0
automatic DAG pregeneration for smooth epoch transitions
...
- backend: AutoDAG bool flag passed from cli/eth.Config to ethereum, autoDAG loop started if true
- backend: autoDAG loop start/stop, remove previous DAG
- cli: AutoDAG bool flag, off by default, but automatically ON if mining
- admin jsre: add startAutoDAG stopAutoDAG and makeDAG in miner section
- switch on/off DAG autogeneration when miner started/stopped on console
2015-05-21 15:53:42 +01:00
zelig
00f59f5014
fix eth.sign. now implemented in admin jsre until web3.js has it .
2015-05-20 04:38:20 +01:00
Taylor Gerring
f14feea436
Refactor user prompts into utils
2015-05-18 12:24:30 -05:00
obscuren
55d85d60fd
eth, cmd/geth: start mining from console respects CLI flag
2015-05-15 20:26:15 +02:00
Bas van Kervel
1fa48bc5e7
Introduced default unlock duration when an account is unlocked from the console
2015-05-14 14:25:48 +02:00
Gustav Simonsson
2c1b0ff17e
Update key store to new spec but keep address field for now
...
* Also fix address types post-rebase
2015-05-12 17:22:17 +02:00
Gustav Simonsson
da9fe951da
Use common.Address type for accounts.Address
2015-05-12 17:19:39 +02:00
obscuren
97dd4551ef
miner, cmd/geth: miner will not ignored owned account transactions
...
Miner does not ignore low gas txs from accounts that are owned.
2015-05-11 21:47:34 +02:00
obscuren
21e52efdfe
cmd/geth, miner, backend, xeth: Fixed miner threads to be settable
...
Miner threads are now settable through the admin interface (closes #897 )
and specify 0 CPU worker threads when eth_getWork is called (closes #916 )
2015-05-11 17:21:22 +02:00
obscuren
13ddf20bd2
miner, cmd/geth: settable gas price from flags and console
...
* --gasprice "<num>" flag
* admin.miner.setGasPrice( <num> )
2015-05-09 12:04:00 +02:00
zelig
009b221692
solidity compiler and contract metadocs integration
...
* common/compiler: solidity compiler + tests
* rpc: eth_compilers, eth_compileSolidity + tests
* fix natspec test using keystore API, notice exp dynamically changes addr, cleanup
* resolver implements registrars and needs to create reg contract (temp)
* xeth: solidity compiler. expose getter Solc() and paths setter SetSolc(solcPath)
* ethereumApi: implement compiler related RPC calls using XEth - json struct tests
* admin: make use of XEth.SetSolc to allow runtime setting of compiler paths
* cli: command line flags solc to set custom solc bin path
* js admin api with new features debug and contractInfo modules
* wiki is the doc https://github.com/ethereum/go-ethereum/wiki/Contracts-and-Transactions
2015-05-07 12:58:21 +02:00
obscuren
062fa049d0
fixed merge issue
2015-05-06 22:54:21 +02:00
obscuren
05ac1209c7
cmd/geth: limit pendingTransactions
to owned accounts.
2015-05-06 18:30:56 +02:00
obscuren
5ebc22807c
cmd/geth: admin, switched price with limit in arguments
2015-05-06 18:30:56 +02:00
obscuren
7fed424435
cmd/geth: implemented resending transaction with different gas settings
2015-05-06 18:30:55 +02:00
Péter Szilágyi
701591b403
cmd, eth, p2p: fix review issues enumerated by Felix
2015-04-30 16:15:29 +03:00
Péter Szilágyi
de0549fabb
cmd/geth, cmd/mist, cmd/utils, eth, p2p: support trusted peers
2015-04-30 16:03:10 +03:00
zelig
6b1b5a4a2a
cli/js console: if corsDomain is not given to startRpc, we fall back to value set on command line with -corsDomain
2015-04-24 12:45:11 +01:00
zelig
7b2f25b578
cli: clean up flag descriptions, usage docs, account list uses primary and indexes, add help line to account subcnd usage
2015-04-24 12:45:11 +01:00
zelig
22450c069b
js console: add cors domain optional argument to startRpc
2015-04-24 12:45:11 +01:00
zelig
a3fb41981e
cmd/admin: rename debug.block to debug.processBlock; move backtrace under debug
2015-04-24 12:45:11 +01:00
Felix Lange
e1f616fadf
cmd/geth: improve the JS tests
...
These changes ensure that the JS tests run without networking
and fixes the block chain export and its associated test.
2015-04-22 12:31:19 +02:00
Jeffrey Wilcke
99e825ad96
Merge pull request #734 from bas-vk/issue-729
...
admin.StopRPC added to console
2015-04-20 10:34:50 -07:00
obscuren
76025cc424
geth: added a admin.debug.block
command which reprocess the block
2015-04-20 16:03:19 +02:00
obscuren
45da3e17e2
core: added chain head reset to known block
2015-04-20 12:29:02 +02:00
obscuren
5dd56bb474
geth: admin download status
2015-04-19 21:46:19 +02:00
obscuren
6e1aa91aaf
geth: added getBlockRlp for dumping block in rlp format
2015-04-19 13:30:55 +02:00
Bas van Kervel
57f93d25bd
admin.stopRPC support added which stops the RPC HTTP listener
2015-04-16 12:56:51 +02:00
obscuren
13eb46ea94
geth: added print block to admin
2015-04-14 12:49:30 +02:00
obscuren
9c55576c7b
Block header changed & console miner control
...
* miner control moved to `admin.miner`
* miner option to set extra data
* block extra now bytes
2015-04-05 18:59:18 +02:00
obscuren
50edd4243e
removed hash rate from info log. Added hashrate js func
2015-04-05 13:05:10 +02:00
obscuren
5dc5e66986
set backtrace during runtime
2015-04-04 22:16:29 +02:00
obscuren
c20d04ca67
added verbosity to js admin
2015-04-04 13:24:19 +02:00
Taylor Gerring
04a7c4ae1e
Abstract http into rpc package
...
New RpcConfig object to pass growing config
2015-03-29 21:26:47 +02:00
Taylor Gerring
e29396b691
Use ExtraDB for storage. Fixes #577
2015-03-27 09:36:18 +01:00
obscuren
b0b0939879
renamed ethereum => geth
2015-03-26 21:27:52 +01:00