Gav Wood
c48374dbc6
Parameter to allow user to force the sealing mechanism ( #918 )
...
* Allow block sealing mechanism to be forced, even when not mining.
* Fix deadlock in dispatch_transaction. Fix tests.
* Horrible workaround for transaction importing.
* Reduce tracing. Cleanups.
* Remove logging.
* Remove broken code inherited from dodgy implementation.
* pre-query tx queue nonce also if any
* remove outside nonce queries
* remove queue nonces
2016-04-11 11:52:33 -07:00
arkpar
3438cda432
Propagate transaction queue
2016-04-06 23:03:07 +02:00
Arkadiy Paronyan
5685fde606
Merge pull request #890 from ethcore/fix_875
...
fixed #875 and added tests for eth_sendTransaction
2016-04-06 16:24:32 +02:00
debris
d14d590c2b
fixed #875 and added tests for eth_sendTransaction
2016-04-06 12:15:20 +02:00
Tomasz Drwięga
85da55a537
Fixing warnings
2016-04-06 10:55:40 +02:00
Tomasz Drwięga
e8fa429438
Bumping clippy
2016-04-06 09:53:56 +02:00
Tomasz Drwięga
2a185963a9
More descriptive expectations to transaction queue consistency.
2016-04-04 08:56:59 +02:00
Gav Wood
5d626c7dd3
Use sensible gas price.
2016-03-28 18:53:33 +02:00
Gav Wood
d150529730
Merge remote-tracking branch 'origin/master' into bettermining
2016-03-27 22:16:24 +02:00
Gav Wood
7c5b171e3f
Differentiate between ClosedBlock (can be reopened) and LockedBlock (cannot).
...
`ClosedBlock`s still keep the pre-finalised state (i.e. state after the last transaction).
`LockedBlock`s do not. New mining algo needs to reopen these `ClosedBlock`s, however enactment
system does not (and `ClosedBlock`s are slower & more hungry), hence the distinction.
2016-03-27 20:33:23 +02:00
Gav Wood
6cac296366
Remove comments.
2016-03-27 15:39:45 +02:00
NikVolf
254ac6f253
checking tx queue
2016-03-27 16:12:21 +03:00
Gav Wood
7d7b315511
Fix tests and a couple of warnings.
2016-03-26 23:35:36 +01:00
Gav Wood
993e16afbd
Fix miner,
2016-03-26 20:36:03 +01:00
Gav Wood
b45ed30936
Disable two tests that will require an improved TestBlockChainClient
2016-03-25 16:41:01 +01:00
Gav Wood
d50c9f9fac
Merge remote-tracking branch 'origin/master' into bettermining
2016-03-24 23:10:54 +01:00
Gav Wood
830ef7ddfc
New mining framework.
...
Fixes #756 .
2016-03-24 23:03:22 +01:00
Arkadiy Paronyan
01a39e4f4e
Merge pull request #807 from ethcore/tracegetwork
...
Fix mining from spinning
2016-03-24 18:27:17 +01:00
Gav Wood
3be2763929
Merge branch 'master' into bettermining
2016-03-24 16:43:17 +00:00
Gav Wood
e214489106
Fix compile.
2016-03-24 13:56:22 +00:00
Gav Wood
0ab57c48c3
Add tracing.
2016-03-24 13:51:51 +00:00
Gav Wood
1700b6a087
Add UsingQueue.
2016-03-24 07:49:54 +00:00
Gav Wood
4e013ba2fc
Refactor pending_block to always return invalid txs and sometimes a block.
...
Docuemnt SealingWork properly.
2016-03-23 16:28:02 +00:00
Gav Wood
97449afbb9
Merge branch 'master' into bettermining
2016-03-23 14:18:16 +01:00
Tomasz Drwięga
c2d2e41624
Fixing future-current transactions clash
2016-03-23 12:23:50 +01:00
Gav Wood
0e026ed11f
Fix author reporting. num_cpus for JSONRPC threads.
2016-03-22 19:12:17 +01:00
Gav Wood
a134f939e9
Non-functioning draft of code.
2016-03-22 13:05:18 +01:00
Tomasz Drwięga
ef10c6f637
Avoiding possible overflow when block number gets smaller.
2016-03-20 12:18:41 +01:00
Tomasz Drwięga
48be70e4a8
Fixing ethminer doctest
2016-03-18 20:45:07 +01:00
Tomasz Drwięga
f8dd1a6354
Merge branch 'master' into tx_queue_timeout
...
Conflicts:
ethcore/src/client/test_client.rs
miner/src/miner.rs
2016-03-18 19:36:32 +01:00
Gav Wood
2309e19fd9
Merge pull request #760 from ethcore/tx_queue_gas_limit
...
Avoid importing transactions with gas above 1.1*block_gas_limit to transaction queue
2016-03-18 18:05:26 +01:00
Gav Wood
a1fb0619bb
Merge pull request #752 from ethcore/tx_queue_invalid
...
Removing transactions that failed to be pushed to block.
2016-03-18 18:03:11 +01:00
Tomasz Drwięga
0dc1ddef9a
Flipping sealing_enabled flag after no requests for sealing_block for some time
2016-03-18 13:59:11 +01:00
Tomasz Drwięga
58bb5e967a
Merge branch 'master' into tx_queue_gas_limit
...
Conflicts:
miner/src/transaction_queue.rs
2016-03-18 12:25:36 +01:00
Tomasz Drwięga
942d38fb13
Removing allow dead_code
2016-03-18 10:22:00 +01:00
Tomasz Drwięga
338e5fadb9
Bumping clippy
2016-03-18 10:08:47 +01:00
Tomasz Drwięga
cee45e1a8e
Merge branch 'master' into tx_queue_live
...
Conflicts:
miner/src/miner.rs
2016-03-18 09:48:35 +01:00
Tomasz Drwięga
a6bd15d333
Fixing compilation
2016-03-18 09:46:13 +01:00
Tomasz Drwięga
48c72a168c
Merge branch 'master' into tx_queue_invalid
2016-03-18 09:44:31 +01:00
Tomasz Drwięga
7ae60056b2
Common error handling
2016-03-17 16:13:00 +01:00
Tomasz Drwięga
fece330ca4
Refactoring removing invalid transactions from queue
2016-03-17 15:30:03 +01:00
Tomasz Drwięga
309af743e0
Ignoring transactions slightly above gas_limit
2016-03-17 15:23:25 +01:00
Tomasz Drwięga
dec69651fd
Attempting to add all transactions to mined block
2016-03-17 13:41:30 +01:00
Tomasz Drwięga
833c5fdd31
Merge branch 'master' into tx_queue_live
...
Conflicts:
sync/src/chain.rs
2016-03-17 13:35:01 +01:00
Gav Wood
a76eb022d0
Merge pull request #746 from ethcore/tx_queue
...
Verify sender's balance before importing transaction to queue
2016-03-17 13:32:48 +01:00
Tomasz Drwięga
e1c3ab1846
Renaming status fields to something more descriptive.
2016-03-17 13:07:34 +01:00
Tomasz Drwięga
b684bc9ba0
Updating sealing when new transactions are received
2016-03-17 12:52:26 +01:00
Tomasz Drwięga
c382fa7eab
Removing invalid transactions from queue
2016-03-17 12:29:55 +01:00
Tomasz Drwięga
7247f9e27f
Fixing doctest
2016-03-17 12:23:15 +01:00
Tomasz Drwięga
884f2dd873
Returning number of transactions pending in block not queue
2016-03-17 11:19:12 +01:00