obscuren
585f259b63
Support input from args
2015-01-09 12:04:54 +01:00
CJentzsch
b227000f19
add blockhash vm tests
2015-01-09 10:56:40 +01:00
zelig
b3161f5803
Merge remote-tracking branch 'upstream/develop' into develop
2015-01-09 06:21:47 +00:00
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
2015-01-09 06:03:45 +00:00
zelig
8ecc9509b3
add ErrInsufficientChainInfo error
2015-01-09 06:03:32 +00:00
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
2015-01-09 05:57:09 +00:00
zelig
43ed0ed1ae
no need to call AddBlockHashes when receiving new block
2015-01-09 05:06:04 +00:00
zelig
69dfca2feb
minor changes in integration tests
2015-01-09 05:04:32 +00:00
zelig
3bdf28c1fe
GetBlockHashesFromHash(hash, max) gives back max hashes starting from PARENT of hash
2015-01-09 05:03:26 +00:00
obscuren
c8a4c04b36
err
2015-01-08 23:15:46 +01:00
CJentzsch
ac2ce00e28
add random test which fail on go
2015-01-08 22:41:40 +01:00
obscuren
26f066f0c7
just enable by default
2015-01-08 22:18:23 +01:00
CJentzsch
f73731d5a4
failing python tests
2015-01-08 22:10:55 +01:00
obscuren
4a0ade4788
Fixed some whisper issues
2015-01-08 21:41:32 +01:00
Marek Kotewicz
c397e350f4
mocha opts file && init of parser tests
2015-01-08 20:24:30 +01:00
Marek Kotewicz
b6058a837f
methods existance tests in progress
2015-01-08 19:59:03 +01:00
Marek Kotewicz
5518022a5d
mocha test init
2015-01-08 19:35:32 +01:00
obscuren
5f958a582d
fixed other tests to use hashes as well
2015-01-08 16:48:39 +01:00
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.
2015-01-08 16:45:51 +01:00
CJentzsch
9b9f7cffde
long jumpdest list
2015-01-08 16:39:57 +01:00
obscuren
ee84b20247
Reworking GUI interaction. Fixed javascript inject. Closes #132
2015-01-08 16:38:24 +01:00
obscuren
b25126a277
Minor fixed and additions for block proc
...
* Path check length
* Genesis include TD
* Output TD on last block
2015-01-08 16:37:06 +01:00
Marek Kotewicz
807ec60e63
missing jshint ignore
2015-01-08 15:43:22 +01:00
Marek Kotewicz
f9cc090473
fixed example
2015-01-08 15:31:46 +01:00
CJentzsch
eb3451142e
sdiv int256.min -1
2015-01-08 15:29:07 +01:00
CJentzsch
73ba8a48ab
sdiv with negative fractional result
2015-01-08 15:14:20 +01:00
Marek Kotewicz
2f3384947b
version upgrade
2015-01-08 15:13:43 +01:00
Marek Kotewicz
a8dde17146
fixes for node.js
2015-01-08 15:11:20 +01:00
CJentzsch
1ad28d0494
add valid jumpdest with jumpdest at beginning
2015-01-08 13:04:29 +01:00
obscuren
db4aaedcbd
Moved ptrie => trie. Removed old trie
2015-01-08 11:47:04 +01:00
CJentzsch
08a72727cd
more dynamic jump tests
2015-01-08 11:23:39 +01:00
CJentzsch
0aa66f02ef
jump into push data is forbidden
2015-01-07 22:33:25 +01:00
CJentzsch
b94c610e49
jumpdests tests, OOG at max call depth, ...
2015-01-07 15:54:14 +01:00
Marek Kotewicz
5208bb32f1
gulpfile modifications, default build set to dev
2015-01-07 14:13:29 +01:00
obscuren
982c812e81
Read directly from stdin
2015-01-07 13:38:28 +01:00
obscuren
c1908c7d91
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
2015-01-07 13:22:29 +01:00
Jeffrey Wilcke
59c5a2f519
Merge pull request #244 from fjl/license-tool
...
Generated License Headers
2015-01-07 13:22:22 +01:00
Felix Lange
1d05027ba2
a few fixes for the license tool
2015-01-07 13:17:50 +01:00
obscuren
fed3e6a808
Refactored ethutil.Config.Db out
2015-01-07 13:17:48 +01:00
Felix Lange
ec7cb9981c
add license tool and initial mailmap
2015-01-07 12:56:46 +01:00
CJentzsch
99e6e00c34
check address input greater then 2**160
2015-01-07 11:17:09 +01:00
Marek Kotewicz
df4d7846e5
Merge pull request #22 from debris/strings
...
strings, real, ureal paddings and implicit paddings for uint, int and hash
2015-01-07 11:16:46 +01:00
Marek Kotewicz
6c160adab3
Merge pull request #21 from debris/master
...
fixed gulp build
2015-01-07 11:16:27 +01:00
CJentzsch
55f6fe4f7b
check address input greater then 2**160
2015-01-07 11:16:09 +01:00
obscuren
032ab66529
Added version flag
2015-01-07 01:21:55 +01:00
obscuren
60d9611c23
Fixed tests where txs weren't properly removed
2015-01-07 01:21:45 +01:00
Marek Kotewicz
210682b734
real, ureal paddings and implicit paddings for uint, int and hash
2015-01-06 21:50:09 +01:00
obscuren
f0ec751237
Updated tests
2015-01-06 20:22:31 +01:00
CJentzsch
6ce9799370
added BlockHash tests
2015-01-06 20:21:11 +01:00
Marek Kotewicz
1d139f7a0b
solidity string support
2015-01-06 18:29:38 +01:00