CJentzsch
b227000f19
add blockhash vm tests
10 years ago
zelig
b3161f5803
Merge remote-tracking branch 'upstream/develop' into develop
10 years ago
zelig
5a9952c7b4
major blockpool change
...
- the spec says response to getBlockHashes(from, max) should return all hashes starting from PARENT of from. This required major changes and results in much hackier code.
- Introduced a first round block request after peer introduces with current head, so that hashes can be linked to the head
- peerInfo records currentBlockHash, currentBlock, parentHash and headSection
- AddBlockHashes checks header section and creates the top node from the peerInfo of the best peer
- AddBlock checks peerInfo and updates the block there rather than in a node
- request further hashes once a section is created but then no more until the root block is found (so that we know when to stop asking)
- in processSection, when root node is checked and receives a block, we need to check if the section has a parent known to blockchain or blockPool
- when peers are switched, new peer launches a new requestHeadSection loop or activates its actual head section, i.e., the section for it currentBlockHash
- all tests pass
10 years ago
zelig
8ecc9509b3
add ErrInsufficientChainInfo error
10 years ago
zelig
f72cb28b0f
adapt unit tests to spec
...
- AddBlockHashes ignores the first hash (just used to match getBlockHashes query) sends the rest as blocksMsg
- new test TestPeerWithKnownParentBlock
- new test TestChainConnectingWithParentHash
- adapt all other tests to the new scheme
10 years ago
zelig
43ed0ed1ae
no need to call AddBlockHashes when receiving new block
10 years ago
zelig
69dfca2feb
minor changes in integration tests
10 years ago
zelig
3bdf28c1fe
GetBlockHashesFromHash(hash, max) gives back max hashes starting from PARENT of hash
10 years ago
obscuren
c8a4c04b36
err
10 years ago
CJentzsch
ac2ce00e28
add random test which fail on go
10 years ago
obscuren
26f066f0c7
just enable by default
10 years ago
CJentzsch
f73731d5a4
failing python tests
10 years ago
obscuren
4a0ade4788
Fixed some whisper issues
10 years ago
Marek Kotewicz
c397e350f4
mocha opts file && init of parser tests
10 years ago
Marek Kotewicz
b6058a837f
methods existance tests in progress
10 years ago
Marek Kotewicz
5518022a5d
mocha test init
10 years ago
obscuren
5f958a582d
fixed other tests to use hashes as well
10 years ago
obscuren
e27237a03a
Changed to use hash for comparison
...
DeepReflect would fail on TD since TD isn't included in the original
block and thus the test would fail.
10 years ago
CJentzsch
9b9f7cffde
long jumpdest list
10 years ago
obscuren
ee84b20247
Reworking GUI interaction. Fixed javascript inject. Closes #132
10 years ago
obscuren
b25126a277
Minor fixed and additions for block proc
...
* Path check length
* Genesis include TD
* Output TD on last block
10 years ago
Marek Kotewicz
807ec60e63
missing jshint ignore
10 years ago
Marek Kotewicz
f9cc090473
fixed example
10 years ago
CJentzsch
eb3451142e
sdiv int256.min -1
10 years ago
CJentzsch
73ba8a48ab
sdiv with negative fractional result
10 years ago
Marek Kotewicz
2f3384947b
version upgrade
10 years ago
Marek Kotewicz
a8dde17146
fixes for node.js
10 years ago
CJentzsch
1ad28d0494
add valid jumpdest with jumpdest at beginning
10 years ago
obscuren
db4aaedcbd
Moved ptrie => trie. Removed old trie
10 years ago
CJentzsch
08a72727cd
more dynamic jump tests
10 years ago
CJentzsch
0aa66f02ef
jump into push data is forbidden
10 years ago
CJentzsch
b94c610e49
jumpdests tests, OOG at max call depth, ...
10 years ago
Marek Kotewicz
5208bb32f1
gulpfile modifications, default build set to dev
10 years ago
obscuren
982c812e81
Read directly from stdin
10 years ago
obscuren
c1908c7d91
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
10 years ago
Jeffrey Wilcke
59c5a2f519
Merge pull request #244 from fjl/license-tool
...
Generated License Headers
10 years ago
Felix Lange
1d05027ba2
a few fixes for the license tool
10 years ago
obscuren
fed3e6a808
Refactored ethutil.Config.Db out
10 years ago
Felix Lange
ec7cb9981c
add license tool and initial mailmap
10 years ago
CJentzsch
99e6e00c34
check address input greater then 2**160
10 years ago
Marek Kotewicz
df4d7846e5
Merge pull request #22 from debris/strings
...
strings, real, ureal paddings and implicit paddings for uint, int and hash
10 years ago
Marek Kotewicz
6c160adab3
Merge pull request #21 from debris/master
...
fixed gulp build
10 years ago
CJentzsch
55f6fe4f7b
check address input greater then 2**160
10 years ago
obscuren
032ab66529
Added version flag
10 years ago
obscuren
60d9611c23
Fixed tests where txs weren't properly removed
10 years ago
Marek Kotewicz
210682b734
real, ureal paddings and implicit paddings for uint, int and hash
10 years ago
obscuren
f0ec751237
Updated tests
10 years ago
CJentzsch
6ce9799370
added BlockHash tests
10 years ago
Marek Kotewicz
1d139f7a0b
solidity string support
10 years ago
CJentzsch
93bf0d6f4e
zeroMemExpansionTests
10 years ago