Péter Szilágyi
64ee5763ee
eth/downloader: fix premature exit before notifying all part fetchers
9 years ago
Péter Szilágyi
b534106cc8
core, miner: add PendingStateEvent to track non-log updates
9 years ago
Jeffrey Wilcke
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.
9 years ago
Jeffrey Wilcke
4e7abcff30
Merge pull request #2266 from obscuren/up-gas-floor
...
params: settle the Pi vs Tau dispute
9 years ago
Jeffrey Wilcke
f954a8b666
params: settle the Pi vs Tau dispute
...
This commit increases the artificial gas floor to 4712388
9 years ago
Jeffrey Wilcke
85865a51b6
Merge pull request #2265 from fjl/downloader-mem
...
eth/downloader: fix header download limiting
9 years ago
Felix Lange
26e72b2ccd
eth/downloader: fix header download limiting
...
Fixes #2201
9 years ago
Péter Szilágyi
a6903ad6a5
Merge pull request #2260 from karalabe/ethash-cache-fixes
...
Godeps, eth, tests: update ethash, used shared for testing
9 years ago
Péter Szilágyi
45d08a8aa7
crypto: expose key encryption method, add ping-pong test
9 years ago
Péter Szilágyi
0969b35eec
crypto: code polish + ensure key file contents match with name
9 years ago
Péter Szilágyi
cda91ee180
crypto: expose key decryption method to parse a string direclty
9 years ago
Péter Szilágyi
66b148dd8f
Merge pull request #2251 from karalabe/increase-downlaoder-queue
...
eth/downloader: bump the download queue size to prevent starvation
9 years ago
Jeffrey Wilcke
483feb0d3f
Merge pull request #2242 from jimenezrick/upstream-crypto
...
Closes #2241 : Use Keccak-256 from golang.org/x/crypto/sha3 and mention explicitly
9 years ago
Péter Szilágyi
0a5ee08e2b
Godeps, eth, tests: update ethash, used shared for testing
9 years ago
Péter Szilágyi
1415669ac3
Merge pull request #2218 from karalabe/time-drift-warning
...
p2p/discover: NTP sanity check clock drift in case of expirations
9 years ago
Péter Szilágyi
1e62cd6c79
Merge pull request #2252 from karalabe/disable-metrics-metaops
...
ethdb: fully disable metrics if not requested (oops?)
9 years ago
Péter Szilágyi
ac954f48bd
p2p/discover: emphasize warning, add 10 min cooldown
9 years ago
Péter Szilágyi
b1908f6a16
psp/discovery: NTP sanity check clock drift in case of expirations
9 years ago
Péter Szilágyi
f1ddb1a7ad
ethdb: fully disable metrics if not requested (oops?)
9 years ago
Péter Szilágyi
7841f0cc09
Merge pull request #2147 from prasanna/add-vagrantfile
...
Added Vagrantfile so that developers can spin up a VM to build geth
9 years ago
Péter Szilágyi
93c0012000
eth/downloader: bump the download queue size to prevent starvation
9 years ago
Péter Szilágyi
b57a3f154f
Merge pull request #2234 from obscuren/tx-rpc-fix
...
eth: fixed homestead tx check
9 years ago
Péter Szilágyi
1f281dcaab
Merge pull request #2220 from karalabe/fix-rollback-lock
...
eth/downloader: fix partial rollback and ancestor lookup
9 years ago
Péter Szilágyi
3dca9cc550
Merge pull request #2095 from karalabe/trie-node-iterator
...
core/state, trie: add node iterator, test state/trie sync consistency
9 years ago
Ricardo Catalinas Jiménez
139f6a0f4c
generators: Don't generate params/protocol_params.go with +x bit
9 years ago
Ricardo Catalinas Jiménez
8f65444bf3
common/natspec: Remove old unnused file
9 years ago
Ricardo Catalinas Jiménez
53ce0a76d8
ethdb: Remove outdated README pointing to an old link
9 years ago
Ricardo Catalinas Jiménez
e6af65d02a
common: Remove dead code
9 years ago
Ricardo Catalinas Jiménez
fbf3b2ede2
common: Remove empty lines
9 years ago
Ricardo Catalinas Jiménez
3d971c5a34
crypto: Remove dead code
9 years ago
Ricardo Catalinas Jiménez
0c6665558a
crypto: Add backward compatible aliases for Sha3{,Hash}()
9 years ago
Ricardo Catalinas Jiménez
436fc8d76a
all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}()
...
As we aren't really using the standarized SHA-3
9 years ago
Ricardo Catalinas Jiménez
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.
9 years ago
Ricardo Catalinas Jiménez
5387ad760f
crypto/sha3: Remove import path checking from vendored code
9 years ago
Ricardo Catalinas Jiménez
e4b138a593
crypto/sha3: Copy latest code from "golang.org/x/crypto/sha3"
...
Revision: 1f22c0103821b9390939b6776727195525381532
9 years ago
Ricardo Catalinas Jiménez
0a1da69fac
crypto/sha3: Delete old copied code
9 years ago
Jeffrey Wilcke
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!).
9 years ago
Jeffrey Wilcke
f8d98f7fcd
Merge pull request #2116 from obscuren/homestead
...
core, core/vm: consensus changes necessary for the homestead release
9 years ago
Felix Lange
c305005d83
Merge pull request #2227 from bas-vk/mathrandom
...
console: seed random number generator
9 years ago
Bas van Kervel
6777531a2d
console: seed random number generator
9 years ago
Jeffrey Wilcke
17649edd85
Merge pull request #2226 from fjl/eip-8
...
p2p, p2p/discover: EIP-8 changes
9 years ago
Felix Lange
7d8155714b
p2p: EIP-8 changes
9 years ago
Felix Lange
ee1debda53
p2p/discover: EIP-8 changes
9 years ago
Felix Lange
bb07ce3eed
rlp: add "tail" struct tag
9 years ago
Péter Szilágyi
216729009b
eth/downloader: fix partial rollback and ancestor lookup
9 years ago
Jeffrey Wilcke
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`.
9 years ago
Jeffrey Wilcke
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
9 years ago
Jeffrey Wilcke
4f4d2b6474
tests: updated homestead tests
9 years ago
Gustav Simonsson
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
9 years ago
Jeffrey Wilcke
aa36a6ae4f
Merge pull request #2206 from fjl/update-deps
...
Godeps: update all dependencies
9 years ago