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
Péter Szilágyi
b8d59d9c98
core/state, trie: switch iterator panics to error fields
9 years ago
Péter Szilágyi
151c7bef41
core/state, trie: node iterator reports parent hashes too
9 years ago
Péter Szilágyi
5a057a8ded
core/state, trie: surface iterator entry hashes
9 years ago
Péter Szilágyi
7e29b0b5b4
core/state, trie: add node iterator, test state/trie sync consistency
9 years ago
Bas van Kervel
0ff2adb21b
core: improved check for contract creation
9 years ago
Felix Lange
6ba7bbbe29
jsre: include constructor properties in auto-completion
9 years ago
Felix Lange
ae5bc89cad
cmd/geth, jsre: improve auto-completion
9 years ago
Prasanna Pendse
3ab1fb0215
Added Vagrantfile so that developers can spin up a VM to build geth
9 years ago
Jeffrey Wilcke
4f28c5b69d
Merge pull request #2210 from obscuren/abi-typed-array
...
accounts/abi: support for typed array
9 years ago
Jeffrey Wilcke
6fe917ecb8
accounts/abi: support for typed array
...
Added support for fixed size and arbitrary length byte arrays to be
marshallable in fixed size (typed) byte slices.
9 years ago
Péter Szilágyi
cb85923828
Merge pull request #2205 from obscuren/pending-filters
...
eth/filters: ✨ pending logs ✨
9 years ago
Péter Szilágyi
770b29fd80
Merge pull request #2175 from karalabe/refactor-http-rpc
...
cmd, common, node, rpc: move HTTP RPC into node, drop singleton aspect
9 years ago
Jeffrey Wilcke
987c1a595a
eth/filters: ✨ pending logs ✨
...
Pending logs are now filterable through the Go API. Filter API changed
such that each filter type has it's own bucket and adding filter
explicitly requires you specify the bucket to put it in.
9 years ago
Felix Lange
fdb936ee95
crypto/ecies: make authenticated shared data work
...
The s2 parameter was not actually written to the MAC.
9 years ago
Felix Lange
2abf1a36b9
cmd/geth: enable multi-line mode
...
This was requested by some users earlier but liner didn't support
it at the time. It does now.
9 years ago
Felix Lange
4063d30b5e
cmd/geth: gofmt js.go and rename ethereum.js to web3.js
...
Fixing the filename matters now because it will actually show
up in JS backtraces.
9 years ago
Felix Lange
2680e23b15
jsre: fix pretty printer for upstream otto change
9 years ago
Péter Szilágyi
d6c6bcc9f3
cmd/geth: update monitor to new termui code
9 years ago