obscuren
b298928c49
core: added 'ignored' status
10 years ago
obscuren
15873fafc0
core: added a wait group to chain manager for graceful shutdown
10 years ago
obscuren
e4dba36892
core: check for parent in calc TD. TD = (N != 0 == parent.TD) || (== D)
10 years ago
obscuren
28b39267d9
core, eth: verify td of received blocks
10 years ago
obscuren
88292f35db
core: remove txs from queue in addition to removal of pending
10 years ago
obscuren
2590a7dabb
core: added some additional chain tests for shortest chain
10 years ago
obscuren
9e63798d03
core/types, eth: meassure and display propagation times
10 years ago
obscuren
c930045834
core: fixed tetst to reflect (int, error) return by insertChain
10 years ago
obscuren
735b029db9
core: return the index of the block that failed when inserting a chain
10 years ago
obscuren
4e07967711
core: fixed chain reorg during splits
...
Chain reorgs weren't properly handled when a chain was further ahead.
Previously we'd end up with mixed chains in our canonical numbering
sequence. Added test for this type of forking.
```
/-o-o-o A
o-C-+
\-o-o-o-o B
```
Ends up with with C A1, A2, A3, B4
10 years ago
obscuren
af73d1d682
core/types: added fake parent hash / hash to String() output
10 years ago
obscuren
7ac24d551b
core: seperated proccing mutex and getting mutex
10 years ago
obscuren
9f32117457
core: bump database version
10 years ago
obscuren
a4b79f1dac
core: moved mutex locks in insert blocks to start of function
...
Insert blocks will no longer allow processing of multiple chains at the
same time. The block lock has been moved to start of the function.
10 years ago
obscuren
04a09b7e2d
core: set min gas price at startup
10 years ago
obscuren
145e02fc54
core, miner: added value check on tx validation
...
* Changed CalcGasLimit to no longer need current block
* Added a gas * price + value on tx validation
* Transactions in the pool are now re-validated once every X
10 years ago
obscuren
405720b218
xeth, core, cmd/utils: Transaction can not be over block gas limit
...
Transactions will be invalidated when the tx.gas_limit > block.gas_limit
10 years ago
obscuren
cd2782f59c
core: fixed wildcard topic filters. Closes #725
10 years ago
Bas van Kervel
c273ed7d82
Moved leveldb update loop to eth/backend
...
change order of block insert and update LastBlock
bugfix, wrong hash stored in blockDb
10 years ago
Bas van Kervel
5cfa0e9187
bugfix, wrong hash stored in blockDb
10 years ago
obscuren
7f14fbd579
core: pending txs now re-validated once every second
10 years ago
obscuren
fba40e18d9
core: added accessor for queued transactions
10 years ago
obscuren
d3be1a2719
eth: moved mined, tx events to protocol-hnd and improved tx propagation
...
Transactions are now propagated to peers from which we have not yet
received the transaction. This will significantly reduce the chatter on
the network.
Moved new mined block handler to the protocol handler and moved
transaction handling to protocol handler.
10 years ago
obscuren
888ece0cb2
core: fixed test
10 years ago
obscuren
7edbb0110f
core: set the state for the managed tx state
...
Set the state for the managed tx state instead of creating a new
managed state.
10 years ago
obscuren
1506e00a23
core: improved error message for invalid nonce txs
10 years ago
obscuren
7138404cb0
core: only post event once per tx & fixed test
10 years ago
obscuren
498b24270a
core: implemented a queued approach processing transactions
...
Implemented a new transaction queue. Transactions with a holes in their
nonce sequence are also not propagated over the network.
N: 0,1,2,5,6,7 = propagate 0..2 -- 5..N is kept in the tx pool
10 years ago
Gustav Simonsson
4e0a2c8e8c
Validate block header UncleHash against calculated hash
10 years ago
Bas van Kervel
c9e22976f5
change order of block insert and update LastBlock
10 years ago
obscuren
ed0817c55d
core/rpc: fix for null entries in log filters. Closes #725
...
You can now specify `null` as a way of saying "not interested in this
topic, match all". core.Filter assumes the zero'd address to be the
wildcard. JSON rpc assumes empty strings to be wildcards.
10 years ago
obscuren
093d6d5074
core: removed nonce resetting from the block processor.
...
All nonce error handling has been moved to the worker
10 years ago
obscuren
b8160cc6d4
core: shuffled some code
10 years ago
obscuren
f28b2bb6ed
core: upgraded block chain version
10 years ago
obscuren
72d065d491
core: force block process & fixed chain manager test
10 years ago
obscuren
97a9753f87
core: added chain reset mechanism on bad blocks
10 years ago
obscuren
45da3e17e2
core: added chain head reset to known block
10 years ago
obscuren
97b0c4b697
core: moved TD calculation from proc to chain
10 years ago
zsfelfoldi
d8fb834386
test account is no longer permanently in genesis block, only put there when testing
10 years ago
zsfelfoldi
dba2367157
NatSpec contracts are now not in the genesis block but added by the test
10 years ago
zsfelfoldi
b635cad9fe
NatSpec passing end to end test
10 years ago
zsfelfoldi
94489b2269
s
10 years ago
zsfelfoldi
e2d333d209
NatSpec contracts in genesis block, end to end test (unfinished)
10 years ago
obscuren
164b878854
cleanup
10 years ago
obscuren
84f1af6413
core: merge using equal block numbers rather than the current block
10 years ago
obscuren
1bc2d83b6f
core: improved uncle validation error message
10 years ago
Felix Lange
574d5d6ae6
core/types: add rlp tag "nil" for Transaction.Recipient
10 years ago
obscuren
dff39553d4
core: changed split detection to also account for number less than
10 years ago
obscuren
5d2138a2b2
core: fixed issue for logs filter. Closes #629
...
Log filter `Address` field was cast to a Hash which causes it to always
fail.
10 years ago
obscuren
ccb4722a59
core/types: Changed bloom lookup to take anything bytes backed
10 years ago