Jeffrey Wilcke
8839fee415
rpc/api: return boolean value for eth_submitHashrate
2015-08-17 15:09:30 +02:00
Jeffrey Wilcke
cd81356ace
Merge pull request #1658 from bas-vk/liner-ctrl-c
...
Clear current line on ctrl-C
2015-08-14 04:36:15 -07:00
Bas van Kervel
c472b8f725
main clear current line on ctrl-C
2015-08-14 13:23:41 +02:00
Jeffrey Wilcke
3a66c4ed47
Merge pull request #1642 from ethereum/fix-js-console-windows
...
cmd/geth, jsre: restore command line editing on windows
2015-08-14 04:14:11 -07:00
Jeffrey Wilcke
29181003d4
Merge pull request #1655 from obscuren/db-merge-fix
...
eth, trie: removed key prefixing from state entries & merge db fix
2015-08-14 04:12:33 -07:00
Jeffrey Wilcke
28b14d3e6d
Merge pull request #1635 from bas-vk/useragent
...
support for user agents
2015-08-13 16:25:33 -07:00
Jeffrey Wilcke
73c4e6005c
Merge pull request #1638 from obscuren/jit-fixes
...
core/vm: fixed jit error & added inline docs
2015-08-13 11:49:01 -07:00
Jeffrey Wilcke
b8ca0a830e
eth, trie: removed key prefixing from state entries & merge db fix
...
Fixed database merge strategy to use the correct database. Due to a copy
paste fail when doing type evaluation the same database was being
iterated (chain), all others were ignored.
Removed state prefixing because {H(code): code} is stored in the same
database as the rest of the state.
2015-08-13 20:44:03 +02:00
Felix Lange
a89cfe92cc
Merge pull request #1470 from ebuchman/encHandshake
...
p2p: validate recovered ephemeral pubkey
2015-08-13 11:59:27 +02:00
Felix Lange
0b0b31c7d2
Merge pull request #1651 from karalabe/rlp-boolean-support
...
rlp: boolean support
2015-08-13 11:10:26 +02:00
Péter Szilágyi
1d2420323c
rlp: add support for boolean encoding/decoding
2015-08-13 12:05:39 +03:00
Felix Lange
0dd6911c62
Merge pull request #1647 from fjl/fix-disc-reason
...
p2p: fix value of DiscSubprotocolError
2015-08-12 21:20:21 +02:00
Felix Lange
28feafe7af
Merge pull request #1646 from fjl/fix-client-identifier
...
cmd/geth: remove spaces in client identifier
2015-08-12 14:38:48 +02:00
Felix Lange
0d10d5a0a5
p2p: fix value of DiscSubprotocolError
...
We had the wrong value (12) since forever.
2015-08-12 14:15:54 +02:00
Felix Lange
31a2793662
cmd/geth: remove spaces in client identifier
2015-08-12 13:32:52 +02:00
Bas van Kervel
f9cbd16f27
support for user agents
2015-08-12 12:22:16 +02:00
Felix Lange
0ef80bb3d0
cmd/geth, jsre: restore command line editing on windows
...
PR #856 broke command line editing by wrapping stdout with a filter that
interprets ANSI escape sequences to fix colored printing on windows.
Implement the printer in Go instead so it can do its own
platform-dependent coloring.
As a nice side effect, the JS console is now noticeably more responsive
when printing results.
Fixes #1608
Fixes #1612
2015-08-12 12:04:00 +02:00
Jeffrey Wilcke
05c66529b2
Merge pull request #1621 from ethereum/fix-discover-hangs
...
p2p/discover: fix two major bugs in reply packet handling
2015-08-11 12:17:13 -07:00
Jeffrey Wilcke
9cacec70f9
cmd/evm, core/vm, tests: changed DisableVm to EnableVm
2015-08-11 18:43:22 +02:00
Jeffrey Wilcke
94b6f38869
Merge pull request #1641 from obscuren/web3-update
...
web3: updated
2015-08-11 08:55:55 -07:00
Jeffrey Wilcke
bf6ea2919d
web3: updated
2015-08-11 17:17:20 +02:00
Jeffrey Wilcke
c32d6fdf74
Merge pull request #1640 from obscuren/trace-flag-ethtest
...
cmd/ethtest: added trace flag for debugging
2015-08-11 02:53:02 -07:00
Jeffrey Wilcke
67c8ccc309
cmd/ethtest: added trace flag for debugging
2015-08-11 11:46:52 +02:00
Felix Lange
590c99a98f
p2p/discover: fix UDP reply packet timeout handling
...
If the timeout fired (even just nanoseconds) before the deadline of the
next pending reply, the timer was not rescheduled. The timer would've
been rescheduled anyway once the next packet was sent, but there were
cases where no next packet could ever be sent due to the locking issue
fixed in the previous commit.
As timing-related bugs go, this issue had been present for a long time
and I could never reproduce it. The test added in this commit did
reproduce the issue on about one out of 15 runs.
2015-08-11 11:42:17 +02:00
Felix Lange
01ed3fa1a9
p2p/discover: unlock the table during ping replacement
...
Table.mutex was being held while waiting for a reply packet, which
effectively made many parts of the whole stack block on that packet,
including the net_peerCount RPC call.
2015-08-11 11:42:17 +02:00
Jeffrey Wilcke
32395ddb89
core/vm: fixed jit error & added inline docs
...
opNumber did not create a new big int which could lead to the block's
number being modified.
2015-08-11 00:16:38 +02:00
Jeffrey Wilcke
2fcf7f1241
Merge pull request #1604 from obscuren/db-merge
...
core, eth, trie, xeth: merged state, chain, extra databases in one
2015-08-09 05:16:37 -07:00
Jeffrey Wilcke
07cb8092e7
Merge pull request #1611 from obscuren/expdiff-olympic-fix
...
cmd/utils, core: disable exp diff for olympic net
2015-08-09 05:15:13 -07:00
Jeffrey Wilcke
1cbd53add8
Merge pull request #1626 from obscuren/defaults-fix
...
cmd/geth, core/vm: setup vm settings and defaulted JIT disabled
2015-08-08 17:11:28 -07:00
Jeffrey Wilcke
eec38c5853
cmd/geth, core/vm: setup vm settings and defaulted JIT disabled
2015-08-09 02:06:16 +02:00
Jeffrey Wilcke
c93f0b9f4b
Merge pull request #1490 from obscuren/jit-vm
...
core/vm: jit vm
2015-08-08 06:36:26 -07:00
Jeffrey Wilcke
a23478c0be
core, eth, trie, xeth: merged state, chain, extra databases in one
2015-08-07 22:29:02 +02:00
Jeffrey Wilcke
312128384b
Merge pull request #1620 from caktux/develop
...
string version for build server
2015-08-07 11:41:41 -07:00
caktux
3ccab5a1e8
string version for build server
2015-08-07 14:13:33 -04:00
Jeffrey Wilcke
dcb23bc3ab
Merge pull request #1615 from obscuren/contract-addr-fix
...
xeth: fixed contract addr check
2015-08-07 05:38:02 -07:00
Jeffrey Wilcke
b6c5b3b4a7
xeth: fixed contract addr check
2015-08-07 14:32:06 +02:00
Jeffrey Wilcke
d7580f21f6
Merge pull request #1595 from obscuren/extra-data
...
cmd/geth, eth: added canonical extra data
2015-08-07 05:00:36 -07:00
Jeffrey Wilcke
b1fac4270d
Merge pull request #1614 from obscuren/web3-finite-fix
...
web3: regression. Fixes #1613
2015-08-07 04:59:15 -07:00
Jeffrey Wilcke
ac697326a6
core/vm: reduced big int allocations
...
Reduced big int allocation by making stack items modifiable. Instead of
adding items such as `common.Big0` to the stack, `new(big.Int)` is
added instead. One must expect that any item that is added to the stack
might change.
2015-08-07 12:52:23 +02:00
Jeffrey Wilcke
184e9ae9a8
core, tests: reduced state copy by N calls
...
Reduced the amount of state copied that are required by N calls by doing
a balance check prior to any state modifications.
2015-08-07 12:52:23 +02:00
Jeffrey Wilcke
846f34f78b
core/vm, tests: implemented semi-jit vm
...
* changed stack and removed stack ptr. Let go decide on slice reuse.
2015-08-07 12:52:17 +02:00
Jeffrey Wilcke
a33726b7db
web3: regression. Fixes #1613
2015-08-07 12:33:12 +02:00
Jeffrey Wilcke
132df860d9
miner, rpc: added length check for extra data
2015-08-07 12:24:44 +02:00
Jeffrey Wilcke
785b3e7a57
cmd/geth, eth: added canonical extra data
...
Implemented canonical extra data according to
https://github.com/ethereum/wiki/wiki/Extra-Data
2015-08-07 12:24:32 +02:00
Jeffrey Wilcke
e89536ca0b
Merge pull request #1596 from obscuren/submit-hashrate
...
miner, rpc: added submit hashrate for remote agents
2015-08-07 03:08:48 -07:00
Jeffrey Wilcke
ac10c9352e
Merge pull request #1610 from obscuren/address-check
...
xeth: added address hex check and length check
2015-08-07 02:05:54 -07:00
Jeffrey Wilcke
cf7cef4293
xeth: added address hex check and length check
2015-08-07 09:52:12 +02:00
Jeffrey Wilcke
698e98d981
Merge pull request #1600 from ethereum/fix-tests-windows
...
Fix tests on windows
2015-08-06 12:39:29 -07:00
Jeffrey Wilcke
a3b8169938
Merge pull request #1603 from ebuchman/trie_hex_fix
...
trie: hex fix
2015-08-06 12:02:55 -07:00
Ethan Buchman
46c9594081
trie: run codec tests, add benchmarks, faster
2015-08-06 14:04:16 -04:00