Jeffrey Wilcke
a55f408c10
Merge pull request #1090 from fjl/jsre-fixes
...
jsre: fixes for concurrent use, improved timer handling
2015-05-26 11:06:54 -07:00
Jeffrey Wilcke
39b1fe8e44
Merge pull request #1086 from debris/solidity_std
...
common/compiler: compile solidity contracts with std library
2015-05-26 10:58:09 -07:00
Jeffrey Wilcke
365eea9fba
Merge pull request #1106 from karalabe/silence-useless-downloader-log
...
eth/downloader: silence "Added N blocks from..." if N == 0
2015-05-26 09:45:44 -07:00
obscuren
eae0927597
core: prevent crash when last block fails
2015-05-26 15:35:51 +02:00
Péter Szilágyi
3083ec5e32
eth/downloader: silence "Added N blocks from..." if N == 0
2015-05-26 16:10:28 +03:00
obscuren
d74ee40c86
cmd/geth: bumped version to 0.9.24
2015-05-26 14:51:28 +02:00
Jeffrey Wilcke
245f30c59b
Merge pull request #1014 from fjl/p2p-dialer-3000
...
p2p: new dialer, peer management without locks
2015-05-26 05:06:00 -07:00
Jeffrey Wilcke
fd38ea4149
Merge pull request #1099 from obscuren/fork_fix
...
Fork fix
2015-05-26 04:50:04 -07:00
obscuren
6c2f6f5b03
tests: removed missing block test
2015-05-26 13:48:10 +02:00
obscuren
a6b46420d0
core: ban hash 38f5bb...a714bc
...
Hash 38f5bbbffd74804820ffa4bab0cd540e9de229725afb98c1a7e57936f4a714bc
ignored.
2015-05-26 13:48:10 +02:00
obscuren
f6f81169fe
core/vm: Fork fix. Removal of appending 0 bytes in memset
2015-05-26 13:48:10 +02:00
obscuren
03faccfb08
tests: updated
2015-05-26 13:48:10 +02:00
Jeffrey Wilcke
0de13b0bba
Merge pull request #1102 from karalabe/maintain-block-origins
...
eth, eth/downloader: surface downloaded block origin, drop on error
2015-05-26 04:31:29 -07:00
Péter Szilágyi
eafdc1f8e3
eth, eth/downloader: surface downloaded block origin, drop on error
2015-05-26 14:00:21 +03:00
Jeffrey Wilcke
5044eb4b26
Merge pull request #1101 from obscuren/issue-1096
...
core/vm: Cleanups & SUB output fix. Closes #1096
2015-05-26 03:50:27 -07:00
obscuren
b419e2631a
core/vm: Cleanups & SUB output fix. Closes #1096
2015-05-26 12:42:33 +02:00
Felix Lange
cc318ff8db
Merge pull request #1078 from carver/patch-1
...
eth: expand acronym in log message from TD
2015-05-25 02:49:53 +02:00
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
Felix Lange
9e1fd70b50
p2p: decrease frameReadTimeout to 30s
...
This detects hanging connections sooner. We send a ping every 15s and
other implementation have similar limits.
2015-05-25 01:17:14 +02:00
Felix Lange
1440f9a37a
p2p: new dialer, peer management without locks
...
The most visible change is event-based dialing, which should be an
improvement over the timer-based system that we have at the moment.
The dialer gets a chance to compute new tasks whenever peers change or
dials complete. This is better than checking peers on a timer because
dials happen faster. The dialer can now make more precise decisions
about whom to dial based on the peer set and we can test those
decisions without actually opening any sockets.
Peer management is easier to test because the tests can inject
connections at checkpoints (after enc handshake, after protocol
handshake).
Most of the handshake stuff is now part of the RLPx code. It could be
exported or move to its own package because it is no longer entangled
with Server logic.
2015-05-25 01:17:14 +02:00
Felix Lange
9f38ef5d97
p2p/discover: add ReadRandomNodes
2015-05-25 01:17:14 +02:00
Felix Lange
64564da20b
p2p: decrease maximum message size for devp2p to 1kB
...
The previous limit was 10MB which is unacceptable for all kinds
of reasons, the most important one being that we don't want to
allow the remote side to make us allocate 10MB at handshake time.
2015-05-25 01:17:14 +02:00
Felix Lange
7b93341836
Godeps: add github.com/davecgh/go-spew
2015-05-25 01:17:14 +02:00
Felix Lange
dbdc5fd4b3
p2p: delete Server.Broadcast
2015-05-25 01:17:14 +02:00
Felix Lange
2f249fea44
eth: stop p2p.Server on shutdown
2015-05-25 01:17:14 +02:00
Felix Lange
394826f520
Merge pull request #1066 from karalabe/peer-db-polishes
...
p2p/discover: evacuate self from node database during iterations
2015-05-25 01:16:23 +02:00
Marek Kotewicz
c31f8e2bd7
compile solidity contracts with std library
2015-05-24 19:12:18 +02:00
Jason Carver
97433f5ef1
expand acronym in log message from TD
...
to total difficulty
2015-05-22 19:12:59 -07:00
Jeffrey Wilcke
b2b9b3b567
Merge pull request #1077 from obscuren/disasm
...
core/vm, rpc: added disasm to `ext_` RPC
2015-05-22 06:51:38 -07:00
obscuren
7381be8edb
core/vm, rpc: added disasm to ext_
RPC
2015-05-22 15:38:46 +02:00
Jeffrey Wilcke
f7415c0bbc
Merge pull request #1076 from obscuren/rpc_sign
...
core: added RPC sign back in
2015-05-22 04:08:51 -07:00
obscuren
6539ccae7c
core: added RPC sign back in
2015-05-22 13:00:04 +02:00
Jeffrey Wilcke
01ddaf5670
Merge pull request #1072 from Gustav-Simonsson/add_random_tests
...
Add StateTests/RandomTests and VMTests/RandomTests
2015-05-22 02:34:48 -07:00
Jeffrey Wilcke
f5e112ae5a
Merge pull request #1074 from bas-vk/issue1068
...
make registrar available in console
2015-05-22 02:22:49 -07:00
Bas van Kervel
821b578f7e
make registrar available in console
2015-05-22 09:13:45 +02:00
Gustav Simonsson
6ad817e17b
Add StateTests/RandomTests and VMTests/RandomTests
2015-05-21 23:04:46 +02:00
obscuren
054abe20b8
miner: moved break INSIDE the switch ...
2015-05-21 19:53:27 +02:00
obscuren
8c25a83708
Merge branch 'release/0.9.23' into develop
2015-05-21 18:59:26 +02:00
Péter Szilágyi
cbd3ae6906
p2p/discover: fix #838 , evacuate self entries from the node db
2015-05-21 19:41:46 +03:00
Péter Szilágyi
af24c271c7
p2p/discover: fix database presistency test folder
2015-05-21 19:28:10 +03:00
obscuren
3ea9868b65
miner: on downloader.Done/Fail stop immediately. Ignore pending evs
2015-05-21 18:14:32 +02:00
obscuren
4600ecb5c7
cmd/geth: bump version 0.9.23
2015-05-21 18:02:15 +02:00
Jeffrey Wilcke
f1cc3619f5
Merge pull request #1055 from ethersphere/autodag
...
automatic DAG pregeneration for smooth epoch transitions
2015-05-21 09:01:57 -07:00
Jeffrey Wilcke
af28736bd0
Merge pull request #1064 from karalabe/downloader-attacks
...
Fix two additional download vulnerabilities
2015-05-21 09:00:12 -07:00
Péter Szilágyi
06a041589f
eth, eth/downloader: remove duplicate consts, bump hash fetch to 2K
2015-05-21 18:16:04 +03: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
Jeffrey Wilcke
1da145675d
Merge pull request #1063 from bas-vk/issue1053
...
prefix dapp key/value entries in extradb
2015-05-21 06:43:17 -07:00
Bas van Kervel
a61e6788db
prefix dapp key/value entries in extradb
2015-05-21 15:20:38 +02:00
Jeffrey Wilcke
90b672f1af
Merge pull request #1062 from Gustav-Simonsson/tests_updates
...
Tests updates
2015-05-21 04:49:23 -07:00
Jeffrey Wilcke
bf7dcfce36
Merge pull request #1059 from obscuren/cleanup
...
Cleanup
2015-05-21 04:11:36 -07:00