b534106cc8
core, miner: add PendingStateEvent to track non-log updates
2016-02-29 11:24:58 +02:00
cec92f5940
cmd/geth: removed multiline support
...
When attempting to paste very long lines of text the REPL goes
completely fubar, never completing the paste. Removing the multiline
support "fixes" this.
Long lines of text are usually pasted when deploying contracts and as it
stands right now makes creating new contracts from the REPL impossible.
2016-02-27 16:58:27 +01:00
4e7abcff30
Merge pull request #2266 from obscuren/up-gas-floor
...
params: settle the Pi vs Tau dispute
2016-02-26 19:26:30 +01:00
f954a8b666
params: settle the Pi vs Tau dispute
...
This commit increases the artificial gas floor to 4712388
2016-02-26 16:18:11 +01:00
85865a51b6
Merge pull request #2265 from fjl/downloader-mem
...
eth/downloader: fix header download limiting
2016-02-26 16:02:28 +01:00
26e72b2ccd
eth/downloader: fix header download limiting
...
Fixes #2201
2016-02-26 15:24:51 +01:00
a6903ad6a5
Merge pull request #2260 from karalabe/ethash-cache-fixes
...
Godeps, eth, tests: update ethash, used shared for testing
2016-02-24 17:58:12 +02:00
45d08a8aa7
crypto: expose key encryption method, add ping-pong test
2016-02-24 16:28:25 +02:00
0969b35eec
crypto: code polish + ensure key file contents match with name
2016-02-24 16:27:32 +02:00
cda91ee180
crypto: expose key decryption method to parse a string direclty
2016-02-24 16:27:32 +02:00
66b148dd8f
Merge pull request #2251 from karalabe/increase-downlaoder-queue
...
eth/downloader: bump the download queue size to prevent starvation
2016-02-24 15:55:21 +02:00
483feb0d3f
Merge pull request #2242 from jimenezrick/upstream-crypto
...
Closes #2241 : Use Keccak-256 from golang.org/x/crypto/sha3 and mention explicitly
2016-02-24 12:57:57 +01:00
0a5ee08e2b
Godeps, eth, tests: update ethash, used shared for testing
2016-02-24 13:29:47 +02:00
1415669ac3
Merge pull request #2218 from karalabe/time-drift-warning
...
p2p/discover: NTP sanity check clock drift in case of expirations
2016-02-24 13:12:52 +02:00
1e62cd6c79
Merge pull request #2252 from karalabe/disable-metrics-metaops
...
ethdb: fully disable metrics if not requested (oops?)
2016-02-24 12:50:45 +02:00
ac954f48bd
p2p/discover: emphasize warning, add 10 min cooldown
2016-02-24 12:16:28 +02:00
b1908f6a16
psp/discovery: NTP sanity check clock drift in case of expirations
2016-02-24 12:14:15 +02:00
f1ddb1a7ad
ethdb: fully disable metrics if not requested (oops?)
2016-02-23 15:47:04 +02:00
7841f0cc09
Merge pull request #2147 from prasanna/add-vagrantfile
...
Added Vagrantfile so that developers can spin up a VM to build geth
2016-02-23 13:48:32 +02:00
93c0012000
eth/downloader: bump the download queue size to prevent starvation
2016-02-23 13:12:11 +02:00
b57a3f154f
Merge pull request #2234 from obscuren/tx-rpc-fix
...
eth: fixed homestead tx check
2016-02-23 10:29:25 +02:00
1f281dcaab
Merge pull request #2220 from karalabe/fix-rollback-lock
...
eth/downloader: fix partial rollback and ancestor lookup
2016-02-23 10:27:51 +02:00
3dca9cc550
Merge pull request #2095 from karalabe/trie-node-iterator
...
core/state, trie: add node iterator, test state/trie sync consistency
2016-02-23 10:26:25 +02:00
139f6a0f4c
generators: Don't generate params/protocol_params.go with +x bit
2016-02-21 22:46:32 +00:00
8f65444bf3
common/natspec: Remove old unnused file
2016-02-21 22:46:31 +00:00
53ce0a76d8
ethdb: Remove outdated README pointing to an old link
2016-02-21 22:46:31 +00:00
e6af65d02a
common: Remove dead code
2016-02-21 22:46:31 +00:00
fbf3b2ede2
common: Remove empty lines
2016-02-21 22:46:31 +00:00
3d971c5a34
crypto: Remove dead code
2016-02-21 22:46:31 +00:00
0c6665558a
crypto: Add backward compatible aliases for Sha3{,Hash}()
2016-02-21 22:46:31 +00:00
436fc8d76a
all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}()
...
As we aren't really using the standarized SHA-3
2016-02-21 22:34:34 +00:00
c20d6e5e4e
crypto/sha3: Export Keccak-256 hash function
...
This hash function is slightly different from the standarized NIST SHA-3
as both of them use different domain separation bits.
2016-02-21 22:34:34 +00:00
5387ad760f
crypto/sha3: Remove import path checking from vendored code
2016-02-21 22:34:34 +00:00
e4b138a593
crypto/sha3: Copy latest code from "golang.org/x/crypto/sha3"
...
Revision: 1f22c0103821b9390939b6776727195525381532
2016-02-21 22:34:34 +00:00
0a1da69fac
crypto/sha3: Delete old copied code
2016-02-21 22:34:34 +00:00
c616391df2
eth: fixed homestead tx check
...
When a block is queried for retrieval we should add a check whether the
block falls within the frontier rules. If we'd always use `From`
retrieving transaction might fail. This PR temporarily changes
everything to `FromFrontier` (safe!).
2016-02-20 12:39:41 +01:00
f8d98f7fcd
Merge pull request #2116 from obscuren/homestead
...
core, core/vm: consensus changes necessary for the homestead release
2016-02-19 14:41:57 +01:00
c305005d83
Merge pull request #2227 from bas-vk/mathrandom
...
console: seed random number generator
2016-02-19 13:17:10 +01:00
6777531a2d
console: seed random number generator
2016-02-19 12:55:31 +01:00
17649edd85
Merge pull request #2226 from fjl/eip-8
...
p2p, p2p/discover: EIP-8 changes
2016-02-19 11:53:50 +01:00
7d8155714b
p2p: EIP-8 changes
2016-02-19 11:14:48 +01:00
ee1debda53
p2p/discover: EIP-8 changes
2016-02-19 11:14:42 +01:00
bb07ce3eed
rlp: add "tail" struct tag
2016-02-19 11:14:29 +01:00
216729009b
eth/downloader: fix partial rollback and ancestor lookup
2016-02-19 11:17:02 +02:00
5b283663b4
core: Added new TD strategy which mitigate the risk for selfish mining
...
Assuming the following scenario where a miner has 15% of all hashing
power and the ability to exert a moderate control over the network to
the point where if the attacker sees a message A, it can't stop A from
propagating, but what it **can** do is send a message B and ensure that
most nodes see B before A. The attacker can then selfish mine and
augment selfish mining strategy by giving his own blocks an advantage.
This change makes the time at which a block is received less relevant
and so the level of control an attacker has over the network no longer
makes a difference.
This change changes the current td algorithm `B_td > C_td` to the new
algorithm `B_td > C_td || B_td == C_td && rnd < 0.5`.
2016-02-18 10:12:13 +01:00
b6d88a0e9f
core, core/vm, crypto: fixes for homestead
...
* Removed some strange code that didn't apply state reverting properly
* Refactored code setting from vm & state transition to the executioner
* Updated tests
2016-02-18 10:11:48 +01:00
4f4d2b6474
tests: updated homestead tests
2016-02-18 10:08:18 +01:00
371871d685
parmas, crypto, core, core/vm: homestead consensus protocol changes
...
* change gas cost for contract creating txs
* invalidate signature with s value greater than secp256k1 N / 2
* OOG contract creation if not enough gas to store code
* new difficulty adjustment algorithm
* new DELEGATECALL op code
2016-02-18 10:08:11 +01:00
aa36a6ae4f
Merge pull request #2206 from fjl/update-deps
...
Godeps: update all dependencies
2016-02-17 13:46:30 +01:00
b8d59d9c98
core/state, trie: switch iterator panics to error fields
2016-02-16 12:37:00 +02:00