Felix Lange
0d10d5a0a5
p2p: fix value of DiscSubprotocolError
...
We had the wrong value (12) since forever.
9 years ago
Felix Lange
31a2793662
cmd/geth: remove spaces in client identifier
9 years ago
Bas van Kervel
f9cbd16f27
support for user agents
9 years ago
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
9 years ago
Jeffrey Wilcke
05c66529b2
Merge pull request #1621 from ethereum/fix-discover-hangs
...
p2p/discover: fix two major bugs in reply packet handling
9 years ago
Jeffrey Wilcke
9cacec70f9
cmd/evm, core/vm, tests: changed DisableVm to EnableVm
9 years ago
Jeffrey Wilcke
94b6f38869
Merge pull request #1641 from obscuren/web3-update
...
web3: updated
9 years ago
Jeffrey Wilcke
bf6ea2919d
web3: updated
9 years ago
Jeffrey Wilcke
c32d6fdf74
Merge pull request #1640 from obscuren/trace-flag-ethtest
...
cmd/ethtest: added trace flag for debugging
9 years ago
Jeffrey Wilcke
67c8ccc309
cmd/ethtest: added trace flag for debugging
9 years ago
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.
9 years ago
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.
9 years ago
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.
9 years ago
Jeffrey Wilcke
2fcf7f1241
Merge pull request #1604 from obscuren/db-merge
...
core, eth, trie, xeth: merged state, chain, extra databases in one
9 years ago
Jeffrey Wilcke
07cb8092e7
Merge pull request #1611 from obscuren/expdiff-olympic-fix
...
cmd/utils, core: disable exp diff for olympic net
9 years ago
Jeffrey Wilcke
1cbd53add8
Merge pull request #1626 from obscuren/defaults-fix
...
cmd/geth, core/vm: setup vm settings and defaulted JIT disabled
9 years ago
Jeffrey Wilcke
eec38c5853
cmd/geth, core/vm: setup vm settings and defaulted JIT disabled
9 years ago
Jeffrey Wilcke
c93f0b9f4b
Merge pull request #1490 from obscuren/jit-vm
...
core/vm: jit vm
9 years ago
Jeffrey Wilcke
a23478c0be
core, eth, trie, xeth: merged state, chain, extra databases in one
9 years ago
Jeffrey Wilcke
312128384b
Merge pull request #1620 from caktux/develop
...
string version for build server
9 years ago
caktux
3ccab5a1e8
string version for build server
9 years ago
Jeffrey Wilcke
dcb23bc3ab
Merge pull request #1615 from obscuren/contract-addr-fix
...
xeth: fixed contract addr check
9 years ago
Jeffrey Wilcke
b6c5b3b4a7
xeth: fixed contract addr check
9 years ago
Jeffrey Wilcke
d7580f21f6
Merge pull request #1595 from obscuren/extra-data
...
cmd/geth, eth: added canonical extra data
9 years ago
Jeffrey Wilcke
b1fac4270d
Merge pull request #1614 from obscuren/web3-finite-fix
...
web3: regression. Fixes #1613
9 years ago
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.
9 years ago
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.
9 years ago
Jeffrey Wilcke
846f34f78b
core/vm, tests: implemented semi-jit vm
...
* changed stack and removed stack ptr. Let go decide on slice reuse.
9 years ago
Jeffrey Wilcke
a33726b7db
web3: regression. Fixes #1613
9 years ago
Jeffrey Wilcke
132df860d9
miner, rpc: added length check for extra data
9 years ago
Jeffrey Wilcke
785b3e7a57
cmd/geth, eth: added canonical extra data
...
Implemented canonical extra data according to
https://github.com/ethereum/wiki/wiki/Extra-Data
9 years ago
Jeffrey Wilcke
e89536ca0b
Merge pull request #1596 from obscuren/submit-hashrate
...
miner, rpc: added submit hashrate for remote agents
9 years ago
Jeffrey Wilcke
ac10c9352e
Merge pull request #1610 from obscuren/address-check
...
xeth: added address hex check and length check
9 years ago
Jeffrey Wilcke
cf7cef4293
xeth: added address hex check and length check
9 years ago
Jeffrey Wilcke
698e98d981
Merge pull request #1600 from ethereum/fix-tests-windows
...
Fix tests on windows
9 years ago
Jeffrey Wilcke
a3b8169938
Merge pull request #1603 from ebuchman/trie_hex_fix
...
trie: hex fix
9 years ago
Ethan Buchman
46c9594081
trie: run codec tests, add benchmarks, faster
9 years ago
Jeffrey Wilcke
7baa5977c8
Merge pull request #1594 from ebuchman/trie_hex_fix
...
faster hex-prefix codec and string -> []byte
9 years ago
Felix Lange
803096ca0f
.gitattributes: add
9 years ago
Felix Lange
6ee908848c
p2p/nat: disable UPnP test on windows
9 years ago
Felix Lange
3832019964
common/compiler, common/docserver, jsre: fix tests on windows
9 years ago
Felix Lange
eae1191904
cmd/utils: fix path expansion on windows
9 years ago
Felix Lange
78b101e15d
common: remove windows path functions
...
They were unused and their tests failed on Windows.
9 years ago
Jeffrey Wilcke
74f6d90153
cmd/utils, core: disable exp diff for olympic net
9 years ago
Jeffrey Wilcke
c32073b11f
miner, rpc: added submit hashrate for remote agents
9 years ago
Felix Lange
b23b4dbd79
p2p/discover: close Table during testing
...
Not closing the table used to be fine, but now the table has a database.
9 years ago
Ethan Buchman
c1d516546d
faster hex-prefix codec and string -> []byte
9 years ago
Jeffrey Wilcke
82ef26f600
Merge branch 'develop'
9 years ago
Jeffrey Wilcke
ee5728ec03
fake commit for build server :(
9 years ago
Jeffrey Wilcke
9a02f53726
Merge branch 'develop'
9 years ago