obscuren
1e28b424e7
Default gas
10 years ago
obscuren
55b1c1546b
Moved to function
10 years ago
obscuren
79828531b1
updated ethereum.js
10 years ago
obscuren
60da9a1289
Put the old hammer back in <3
10 years ago
obscuren
3f4c1aaf01
info => debug
10 years ago
obscuren
0f3bf7ef4d
Fixes for balance
10 years ago
Jeffrey Wilcke
7e13ee602e
Merge pull request #625 from debris/nonenumerable
...
print nonenumerable properties of object in geth console && proper printing BigNumbers
10 years ago
Marek Kotewicz
f960fc066e
fixed printing BigNumbers
10 years ago
Marek Kotewicz
bb3ae3026e
print nonenumerable properties of object in geth console
10 years ago
obscuren
b8124ec791
Removed old (unused) argument
10 years ago
Jeffrey Wilcke
219d94c1dd
Merge pull request #623 from Gustav-Simonsson/read_protocol_values_from_common_params
...
Read most protocol params from common/params.json
10 years ago
Gustav Simonsson
c26c8d3a44
Read most protocol params from common/params.json
...
* Add params package with exported variables generated from
github.com/ethereum/common/blob/master/params.json
* Use params package variables in applicable places
* Add check for minimum gas limit in validation of block's gas limit
* Remove common/params.json from go-ethereum to avoid
outdated version of it
10 years ago
obscuren
ab5c007376
Updated ethereum.js
10 years ago
obscuren
4391c38215
Changed getters on account objects. Closes #610
...
* GetCode
* GetNonce
* GetStorage
* GetBalance
10 years ago
obscuren
344b3556eb
Fixed uncle rewards in miner
...
The uncle rewards were changed in the block processor. This change will
reflect those changes in the miner as well.
10 years ago
obscuren
516ec28544
sha3 stack check
10 years ago
obscuren
109b27b552
Merge commit '4e3ffbcf9bae7e44e45fd1b6e504b3645040d73c' into develop
10 years ago
obscuren
4e3ffbcf9b
Squashed 'tests/files/' changes from 5f8a010..ab81bf2
...
ab81bf2 go fail
git-subtree-dir: tests/files
git-subtree-split: ab81bf28d6157657b0a1c0d598785f1ed23fdbb1
10 years ago
obscuren
96cf776f81
Check stack for BALANCE. Closes #622
10 years ago
obscuren
f801183b8b
Squashed 'tests/files/' changes from 29da5ea..5f8a010
...
5f8a010 go fials
6f7924a add cppjit fail
c21f368 update genesis test
de7266b update js example test
git-subtree-dir: tests/files
git-subtree-split: 5f8a0103c0456f9467b402fde3db4bcde345d53b
10 years ago
obscuren
516423cdac
Merge commit 'f801183b8bea24ce9988fbd06c2f17fedfc3587f' into develop
10 years ago
obscuren
216ea425e4
corrected
10 years ago
obscuren
8e961df283
bumped network protocol
10 years ago
Jeffrey Wilcke
fd171eff7f
Merge pull request #592 from fjl/disco-ping-pong
...
Discovery bonding protocol
10 years ago
Felix Lange
76218959ab
eth: update cpp bootnode address
10 years ago
Felix Lange
a77c431e37
p2p/discover: fix off by one error causing buckets to contain duplicates
10 years ago
Felix Lange
de7af720d6
p2p/discover: implement node bonding
...
This a fix for an attack vector where the discovery protocol could be
used to amplify traffic in a DDOS attack. A malicious actor would send a
findnode request with the IP address and UDP port of the target as the
source address. The recipient of the findnode packet would then send a
neighbors packet (which is 16x the size of findnode) to the victim.
Our solution is to require a 'bond' with the sender of findnode. If no
bond exists, the findnode packet is not processed. A bond between nodes
α and β is created when α replies to a ping from β.
This (initial) version of the bonding implementation might still be
vulnerable against replay attacks during the expiration time window.
We will add stricter source address validation later.
10 years ago
Felix Lange
92928309b2
p2p/discover: add version number to ping packet
...
The primary motivation for doing this right now is that old PoC 8
nodes and newer PoC 9 nodes keep discovering each other, causing
handshake failures.
10 years ago
Taylor Gerring
101ea1a1e8
Make inner size before assinging. Closes #615
10 years ago
Jeffrey Wilcke
c8e5d53a39
Merge pull request #618 from tgerring/issue613
...
Issue #613
10 years ago
Jeffrey Wilcke
4a4da9a24e
Merge pull request #588 from ethersphere/frontier/SEC-29
...
Frontier/sec 29
10 years ago
zelig
f56fc9cd9d
change StatusMsgData.TD back to pointer type *big.Int
10 years ago
zelig
6ffea34d8b
check TxMsg
...
- add validation on TxMsg checking for nil
- add test for nil transaction
- add test for zero value transaction (no extra validation needed)
10 years ago
zelig
82da6bf4d2
test for invalid rlp encoding of block in BlocksMsg
...
- rename Validate -> ValidateFields not to confure consensus block validation
- add nil transaction and nil uncle header validation
- remove bigint field checks: rlp already decodes *big.Int to big.NewInt(0)
- add test for nil header, nil transaction
10 years ago
zelig
d677190f39
add tests for valid blocks msg handling
10 years ago
zelig
e1be34bce1
eth: SEC-29 eth wire protocol decoding invalid message data crashes client
...
- add validate method to types.Block
- validate after Decode -> error
- add tests for NewBlockMsg
10 years ago
Jeffrey Wilcke
936ddf2ad1
Merge pull request #616 from bas-vk/develop
...
Frontier/513
10 years ago
Taylor Gerring
dbf17105f6
Build transaction context in BlockRes
10 years ago
Taylor Gerring
88f2a96ca3
Set fullTx option in constructor
10 years ago
Bas van Kervel
1559bd9e1b
changed big.Int instantiation
10 years ago
obscuren
dba9b83aa0
Merge branch 'tgerring-hexify' into develop
10 years ago
obscuren
b0e09ec827
merge conflict
10 years ago
obscuren
6afc5e762a
Merge branch 'hexify' of https://github.com/tgerring/go-ethereum into tgerring-hexify
10 years ago
Jeffrey Wilcke
720d978e35
Merge pull request #589 from tgerring/corssetting
...
Configurable CORS domain
10 years ago
Bas van Kervel
6605d00d92
Frontier/513
10 years ago
Taylor Gerring
02fb83782e
#612 rename eth_protocol method
10 years ago
Taylor Gerring
86ba7432a9
txMeta storage as struct
10 years ago
obscuren
4e8f8cfab7
ethereum.js update
10 years ago
obscuren
f2c6a937f3
Protocol bump
10 years ago
Taylor Gerring
b860b67693
Remove extra type assetion
10 years ago