Jeffrey Wilcke
75c86f8646
Merge pull request #2141 from obscuren/evm-init
...
core, core/vm, tests: changed the initialisation behaviour of the EVM
2016-03-23 23:20:51 +01:00
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.
2016-03-23 23:02:44 +01:00
Jeffrey Wilcke
5f92606be2
eth/api: added root to the receipts
2016-03-23 23:02:44 +01:00
Jeffrey Wilcke
3601320ccd
eth, rpc: implemented block debugging rpc calls
...
Implemented the following block debugging RPC calls
* Block(RLP)
* BlockByFile(fileName)
* BlockByNumber(number)
* BlockByHash(hash)
2016-03-23 23:02:44 +01:00
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.
2016-03-23 23:02:42 +01:00
Jeffrey Wilcke
9866f19d6a
Merge pull request #2371 from hiddentao/fix_prompt_passwd_input
...
Strip extraneous carriage return from end of entered password
2016-03-23 18:06:27 +01:00
Ramesh Nair
6f30034413
cmd/utils: removed password line endings when not using liner.
2016-03-23 22:53:20 +08:00
Jeffrey Wilcke
77d21e472d
Merge pull request #2259 from bas-vk/http
...
rpc/http: improve request handling
2016-03-23 13:01:22 +01:00
Bas van Kervel
a7bae3b2a6
rpc/http: improve request handling
2016-03-23 11:27:08 +01:00
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.
2016-03-23 00:04:00 +01:00
Péter Szilágyi
b3b110bc95
Merge pull request #2348 from obscuren/abi-variable-input
...
accounts/abi: Fixed bytes input accept []byte and variable input support
2016-03-17 10:21:34 +02:00
Péter Szilágyi
138e7af96c
Merge pull request #2354 from karalabe/miner-atomic-pending
...
eth, miner: fetch pending block/state in on go (data race)
2016-03-16 13:12:46 +02:00
Péter Szilágyi
8b6ae6bf86
Merge pull request #2355 from karalabe/abi-constant-functions-2
...
accounts/abi: handle the "constant" modifier for functions
2016-03-16 13:12:14 +02:00
Péter Szilágyi
270ea6eec3
accounts/abi: handle the "constant" modifier for functions
2016-03-16 11:24:16 +02:00
Péter Szilágyi
0228fb57cd
eth, miner: fetch pending block/state in on go (data race)
2016-03-16 11:23:26 +02:00
Péter Szilágyi
2855a93ede
Merge pull request #2341 from leijurv/patch-2
...
core: fixed various typos
2016-03-16 11:22:33 +02:00
Felix Lange
b5cee9738b
Merge pull request #2350 from leijurv/patch-3
...
core, eth: replace reorganiz with reorganis
2016-03-15 20:33:38 +01:00
Leif Jurvetson
434e4b31d8
core, eth: replace reorganiz with reorganis
2016-03-15 12:03:17 -07:00
Felix Lange
06fe6310a3
Merge pull request #2351 from leijurv/patch-4
...
core: various typos
2016-03-15 19:39:36 +01:00
Felix Lange
066d301520
Merge pull request #2352 from leijurv/patch-5
...
eth: various typos
2016-03-15 19:38:24 +01:00
Leif Jurvetson
bbbe2360d0
eth: various typos
2016-03-15 11:27:49 -07:00
Leif Jurvetson
b7bb2d8589
core: various typos
2016-03-15 11:08:18 -07:00
Leif Jurvetson
c7727191ae
core: fixed various typos
2016-03-15 09:12:03 -07:00
Jeffrey Wilcke
fe45210c55
accounts/abi: Fixed bytes input accept []byte and variable input support
...
Fixed up `[]byte` slice support such that `function print(bytes input)`
accepts `[]byte` as input and treats it as 1 element rather than a slice
of multiple elements.
Added support for variable length input parameters like `bytes` and
`strings`.
2016-03-15 14:10:39 +01:00
Péter Szilágyi
e189fb839c
Merge pull request #2327 from fjl/debug-fixes
...
cmd/utils, internal/debug: fixes for debugging
2016-03-15 11:01:31 +02:00
Jeffrey Wilcke
42c049e519
Merge pull request #2342 from obscuren/issue-templates
...
templates: added issue template
2016-03-14 23:45:53 +01:00
Jeffrey Wilcke
a0e2e22a4f
templates: added issue template
2016-03-14 23:39:21 +01:00
Péter Szilágyi
b8f4a48ada
Merge pull request #2337 from karalabe/upnp-error-hang
...
p2p/nat: fix #2291 , NAT discovery did't abort on failure
2016-03-14 17:17:21 +02:00
Péter Szilágyi
64c8e2f2ca
p2p/nat: fix #2291 , NAT discovery did't abort on failure
2016-03-14 17:08:15 +02:00
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.
2016-03-12 00:59:37 +01:00
Felix Lange
cafdd5931e
internal/debug: don't disable heap profile collection by default
...
Setting runtime.MemProfileRate to 0 through the flag default
value makes it impossible to get an 'in-use' profile.
2016-03-12 00:41:34 +01:00
Jeffrey Wilcke
8a3ce5450a
Merge pull request #2311 from obscuren/future-proc-fix
...
core: added future proc mutex lock
2016-03-11 18:26:57 +01:00
Péter Szilágyi
08759b0aaf
Merge pull request #2322 from karalabe/headerchain-preformance-fixes
...
core: cache fresh headers and tds to avoid db trashing
2016-03-11 16:49:21 +02:00
Jeffrey Wilcke
558d18d2b0
core: added future proc mutex lock
...
Added a future lock which prevents the anything being added or removed
from or to the set when looping over the set of blocks. This fixes a nil
pointer in the range loop when trying to retrieve a block from the set
which was previously available but removed due to regular chain
processing.
Fixes #2305
2016-03-11 09:52:36 +01:00
Péter Szilágyi
c3a4874e5e
Merge pull request #2326 from karalabe/goleveldb-datarace-fix
...
Godeps: pull in the leveldb upstream write race fix
2016-03-11 10:30:46 +02:00
Péter Szilágyi
9ff07304a3
Godeps: pull in the leveldb upstream write race fix
2016-03-11 09:30:25 +02:00
Péter Szilágyi
daad2b2559
core: cache fresh headers and tds to avoid db trashing
2016-03-10 21:40:34 +02:00
Péter Szilágyi
850f41b374
Merge pull request #2321 from karalabe/downloader-throughput-datarace
...
eth/downloader: fix a throughput estimation data race
2016-03-10 20:38:55 +02:00
Jeffrey Wilcke
8b58cd0190
Merge pull request #2081 from zsfelfoldi/light-chain
...
core: create a header chain structure shared by full and light clients
2016-03-10 15:16:11 +01:00
zsfelfoldi
73d21ea6af
core: create a header chain structure shared by core.BlockChain and light.LightChain
2016-03-10 14:57:32 +01:00
Jeffrey Wilcke
bff9ceb6b8
Merge pull request #2301 from obscuren/uncle-fix
...
core: announce ChainSideEvent during reorg
2016-03-10 14:21:41 +01:00
Jeffrey Wilcke
6d3cd03a03
Merge pull request #2320 from karalabe/update-goleveldb
...
Godeps: update goleveldb to fix a compaction data race
2016-03-10 12:24:34 +01:00
Péter Szilágyi
e3f2b541f2
eth/downloader: fix a throughput estimation data race
2016-03-10 12:58:46 +02:00
Péter Szilágyi
ea19e61fba
Godeps: update goleveldb to fix a compaction data race
2016-03-10 12:57:59 +02:00
Péter Szilágyi
edd7aa054c
Merge pull request #2228 from karalabe/allocate-cache-to-chaindata
...
cmd, eth, ethdb, node: prioritise chaindata for resources, bump cache
2016-03-09 10:43:07 +02:00
Péter Szilágyi
e90958cd29
cmd, eth, ethdb, node: prioritise chaindata for resources, bump cache
2016-03-09 10:33:39 +02:00
Jeffrey Wilcke
ba3fb9e6f4
core: announce ChainSideEvent during reorg
...
Previously all blocks that were already in our chain were never re
announced as potential uncle block (e.g. ChainSideEvent). This is
problematic during mining where you want to gather as much possible
uncles as possible increasing the profit. This is now addressed in this
PR where during reorganisations of chains the old chain is regarded as
uncles.
Fixed #2298
2016-03-08 16:12:48 +01:00
Péter Szilágyi
05c86c2c9f
Merge pull request #2309 from bas-vk/passwd
...
console: allow optional password on the command line
2016-03-08 17:07:12 +02:00
Péter Szilágyi
31b4ff8cc1
Merge pull request #2310 from karalabe/ethash-future-cache
...
Godeps: pull in ethash future cache generator
2016-03-08 16:55:22 +02:00
Péter Szilágyi
119b724362
Godeps: pull in ethash future cache generator
2016-03-08 16:43:56 +02:00