zelig
7e224b6834
db name database -> blockchain in backend error message
10 years ago
Taylor Gerring
a75af474f7
Fix logger import in tests
10 years ago
Taylor Gerring
e31ec57f88
Add event eth.tx.received
10 years ago
Taylor Gerring
0976c3024f
Don't import logger as ethlogger
10 years ago
Taylor Gerring
cfe0370280
Remove Websockets RPC transport
10 years ago
obscuren
cc5c8a444d
Report proper database directory. Closes #397
10 years ago
zelig
16ecda951b
integrate blockpool into eth
...
- remove blockpool code
- remove blockpool integration test (kinda embarrassing)
- remove errors.go
10 years ago
obscuren
cc43ab9a81
Minor updates for release
10 years ago
Felix Lange
e968928613
eth: persist node key between sessions ( #304 )
10 years ago
Felix Lange
e282ad25a8
eth: add poc-8.ethdev.com as second default bootstrap node
10 years ago
obscuren
d8ac267f41
dirty tracking for state objects fixed
10 years ago
Maran
5aff8bfb59
Implement command line argument to set the amount of agents created by the miner
...
Defaults to the amount of cores available on the CPU
10 years ago
obscuren
05b1ec008b
Disabled ability to disable whisper. Closes #334
10 years ago
Taylor Gerring
f499f343ba
Update JSON Log types
10 years ago
obscuren
5ec8c5f71b
added bootnode back in
10 years ago
obscuren
7fc9b5b3f9
Changed to ChainEvent and fixed a nil pointer in transact
10 years ago
obscuren
567428fb34
Filter and mutex locks added
10 years ago
obscuren
8135752a32
"centralised" mining to backend. Closes #323
10 years ago
Felix Lange
1c1a3033be
eth: add default bootnode
10 years ago
obscuren
bde3ff16ad
merge
10 years ago
Felix Lange
d0a2e655c9
cmd/ethereum, cmd/mist, eth, p2p: use package p2p/nat
...
This deletes the old NAT implementation.
10 years ago
Taylor Gerring
db24fb792c
Move standard fields to LogEvent
10 years ago
Taylor Gerring
3c40eb9e5a
Temporarily skip broken TestVerifyPoW
10 years ago
Taylor Gerring
3d6fd601c5
Move event names within each object
10 years ago
Taylor Gerring
d53e5646ec
Use strongly-typed objects
10 years ago
Felix Lange
a21b30c901
eth: remove unused Ethereum sync fields
10 years ago
Felix Lange
a3cd218719
cmd/mist, cmd/ethereum: add CLI arguments for node key
10 years ago
Felix Lange
f1ebad2508
eth: don't warn if no BootNodes are specified
10 years ago
Felix Lange
028775a086
cmd/ethereum, cmd/mist: add flag for discovery bootstrap nodes
10 years ago
Felix Lange
2cf4fed11b
cmd/mist, eth, javascript, p2p: use Node URLs for peer suggestions
10 years ago
Felix Lange
56f777b2fc
cmd/ethereum, cmd/mist, core, eth, javascript, xeth: fixes for new p2p API
10 years ago
obscuren
57f95c1dc7
fixed test
10 years ago
obscuren
1d519854e2
Propagate known transactions to new peers on connect
10 years ago
obscuren
30fa30bd4a
Docs & old code removed
10 years ago
Taylor Gerring
1f4ed49b4c
Move hardcoded seed node address to app flag
...
Replaces functionality `-seed=true` with `-seed="ip:port"`
10 years ago
obscuren
8ccde784f9
Added (disabled) Jit validation
10 years ago
obscuren
1337a8dfb1
upped pv
10 years ago
obscuren
7f638f0b2d
moving to a better xeth
10 years ago
Taylor Gerring
5f50fe7a4a
Update CLI to use new Websocket RPC
...
Use “wsport” flag to change default port
10 years ago
Taylor Gerring
d790229a33
Move HTTP transport to sub package of RPC
10 years ago
Taylor Gerring
0aa76d3e5b
Rename jsonlogger method
10 years ago
Taylor Gerring
1077109e11
Add JsonLogger type
10 years ago
Taylor Gerring
bdf99e0981
Add LogFormat flag
10 years ago
obscuren
9b509f6478
Print error instead of returning for seed node err
...
Returning an error would indicate a complete failure initialising the
Ethereum backend. Instead we should print the message and continue.
10 years ago
obscuren
35f4bb96f3
Limit hashes. Closes #249
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