Tomasz Drwięga
fa6b35ec8d
Bumping clippy. Fixing warnings ( #1139 )
...
* Bumping clippy. Fixing warnings
* Removing unused import
* Fixing complexity and arguments warning on two functions
2016-05-25 17:03:58 +02:00
Marek Kotewicz
ebd0cdbc7a
Fixpending ( #1074 )
...
* Fix --geth IPC for MacOS.
* fix pending_* methods in MinerService, add pending_receipts
* pending logs
* include pending logs when polling
* fixed returning pending logs multiple timees
* log type
* transactionHash is supplied to pending logs
* miner returns receipts together with hashes
* bring back miners all_transactions used by sync module
2016-05-24 21:56:32 +02:00
Arkadiy Paronyan
fba5082b00
Propagate uncles ( #1134 )
2016-05-24 21:56:17 +02:00
arkpar
ca6c91f591
New sync algorithm
2016-05-19 16:16:11 +02:00
debris
634679966e
Make Id/ID and db/Db/DB usage consistent
2016-05-19 11:00:32 +02:00
Tomasz Drwięga
a950b81ee8
Fixing clippy warnings
2016-05-17 10:32:05 +02:00
Nikolay Volf
354ac7d6e5
Limiting result of the execution to execution-specific errors ( #1071 )
...
* execution error/result limiting
* missing trailing comma
* fix executive tests
* adding original error as string to the generic transaction error
* 'mallformed'-s all around
2016-05-14 13:28:44 +01:00
Gav Wood
ac73b2628a
Basic Authority ( #991 )
...
* Firt commit.
* First non-functional but correct implementation of BasicAuthority.
Still needs:
- Sealing infrastructure.
* Punch a hole to give miner access to key store.
* Fix test built.
* Basic version of synchronous mining.
This will seal a block whenever a new transaction comes through.
To be made better we need a timer which will wait for one second after the
last block before sealing a new one - better still would be to cooperatively
interleave blocks with other sealing nodes.
* Add tests.
* Fix minor issues from repotting.
* Address grumbles.
2016-05-03 17:23:53 +02:00
Tomasz Drwięga
1583f7d434
Prioritizing of local transaction ( #1023 )
...
* Changing is_local flag to TransactionOrigin enum
* Prioritize local transactions
2016-05-03 16:14:33 +02:00
Tomasz Drwięga
e2465b1eab
Bumping clippy & fixing warnings ( #1024 )
...
* Bumping clippy
* Fixing warnings found by clippy
2016-05-02 13:13:12 +02:00
arkpar
45b908f6ba
Inrease timeout, decrease number of requested blocks
2016-04-26 14:04:00 +02:00
arkpar
fe14f6f160
Track import errors and restart sync
2016-04-25 10:53:28 +02:00
Tomasz Drwięga
00372cf747
Removing a transaction from queue now removes all from this sender with lower nonces. ( #950 )
...
* Changing to wipe-out all transactions from particular sender lower then given nonce.
* Changing given nonce to be client_nonce
* Fixing test_client to support proper nonces when transactions are added to blockchain
* Fixing logic for transactions from new blocks in chain
2016-04-14 22:38:23 -07:00
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
Tomasz Drwięga
85da55a537
Fixing warnings
2016-04-06 10:55:40 +02:00
arkpar
4854f6923b
Full restart on bad block
2016-04-02 09:29:12 +02:00
arkpar
a8772ed5c1
Track import errors and restart sync
2016-04-02 09:01:53 +02:00
Gav Wood
9592ccc0df
Publish locally-made transactions to peers.
2016-03-28 18:11:00 +02:00
Gav Wood
f231440480
Use network id for the web3_net_version return.
2016-03-26 00:23:07 +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
2dc314f993
Removing update_seal when new transactions arrives
2016-03-17 18:30:26 +01:00
Tomasz Drwięga
7ae60056b2
Common error handling
2016-03-17 16:13:00 +01:00
Nikolay Volf
85b08e6e7b
get rid of the function
2016-03-17 15:09:08 +01:00
Nikolay Volf
7929af67c8
propagation is out
2016-03-17 15:02:18 +01:00
Nikolay Volf
0f96ce9bd2
no flag also
2016-03-17 14:56:19 +01:00
Nikolay Volf
0b35a36cb0
Merge branch 'master' into tq-stop-sync
...
Conflicts:
sync/src/chain.rs
2016-03-17 14:19:12 +01:00
Nikolay Volf
a285fbab6d
overhaul to flag
2016-03-17 14:11:32 +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
Nikolay Volf
83f5cc6aa6
adding helper can_sync
2016-03-17 13:14:06 +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
Nikolay Volf
5c4edbdd6b
Merge branch 'master' into tq-stop-sync
2016-03-17 12:25:14 +01:00
Nikolay Volf
03ca9d2c06
adding message from client to sync and disabling sending transactions to the queue while syncing
2016-03-17 12:17:53 +01:00
Tomasz Drwięga
bc04e0c713
Adding missing commas
2016-03-17 11:49:56 +01:00
Tomasz Drwięga
0e7778a7b7
Increasing balance in tests
2016-03-17 11:27:38 +01:00
Tomasz Drwięga
81c36499ea
Fixing sync test
2016-03-17 10:20:35 +01:00
Tomasz Drwięga
10c309fccb
Merge branch 'master' into tx_queue
2016-03-17 10:20:21 +01:00
arkpar
b9584b7ec9
restart sync on getting old unknown header
2016-03-16 18:25:32 +01:00
Tomasz Drwięga
fdba8de600
Validating senders balance before importing transaction to queue
2016-03-16 10:45:55 +01:00
arkpar
e538b417f0
Missing return
2016-03-15 18:35:07 +01:00
arkpar
85833d228a
Ignore new blocks while seeking
2016-03-15 01:22:58 +01:00
Nikolay Volf
8f4323f3bb
Merge branch 'master' into pv63-receipts
...
Conflicts:
ethcore/src/client/test_client.rs
2016-03-14 11:06:28 +01:00
Tomasz Drwięga
4cf18c728d
Fixing sync invalid sync test
2016-03-13 20:53:47 +01:00
Nikolay Volf
809c239ff8
fix rev
2016-03-13 15:59:25 +01:00
Gav Wood
08b9cc2c41
Merge changes from #674 into branch.
2016-03-13 15:29:55 +01:00
Gav Wood
02f43f2e8c
Merge branch 'ethminer_crate'
2016-03-13 15:00:47 +01:00
arkpar
0a6fea1b77
Silenced some non-important warnings
2016-03-13 10:33:55 +01:00
Nikolay Volf
0684abd345
fixed to return receipts grouped by requested block
2016-03-12 19:23:17 +01:00
arkpar
1e23a4c888
Don't redownload queued blocks on restart
2016-03-12 16:01:34 +01:00
arkpar
16618094f5
Cleanup header_ids
2016-03-12 16:01:34 +01:00
arkpar
1fe575bf7b
Download bodies for validated hash chain only
2016-03-12 16:01:34 +01:00
arkpar
7ad7996144
Fixed common block detection
2016-03-12 16:01:34 +01:00
Nikolay Volf
eaf22198e2
Merge pull request #676 from ethcore/fix-tx-warnings
...
fix warning for transaction_queue.add usage
2016-03-11 19:48:05 +03:00
Tomasz Drwięga
03da6c991f
Merge branch 'master' into ethminer_crate
...
Conflicts:
Cargo.lock
Cargo.toml
ethcore/src/client/client.rs
hook.sh
parity/main.rs
rpc/Cargo.toml
rpc/src/v1/impls/eth.rs
sync/Cargo.toml
sync/src/tests/helpers.rs
2016-03-11 14:37:07 +01:00
Gav Wood
b25551be7b
Merge pull request #671 from ethcore/clippy_hook
...
Removing running clippy by default on nightly.
2016-03-11 14:03:16 +01:00
Nikolay Volf
99c5794929
fix warning for transaction_queue.add usage
2016-03-11 16:00:30 +04:00
debris
389d17974e
Merge branch 'client_submodules' into rpc_tests
2016-03-11 11:17:28 +01:00
Tomasz Drwięga
d84e008e00
Removing superflous check for nightly
2016-03-11 11:16:49 +01:00
Marek Kotewicz
eb2171e287
Merge pull request #652 from ethcore/tx_queue_rpc
...
Transaction queue exposed via JSON rpc.
2016-03-11 11:08:16 +01:00
debris
34a120e127
net tests
2016-03-11 10:17:20 +01:00
Tomasz Drwięga
92022ac14d
Merge branch 'master' into ethminer_crate
...
Conflicts:
ethcore/src/client.rs
parity/main.rs
rpc/src/v1/impls/eth.rs
sync/src/chain.rs
2016-03-10 16:38:58 +01:00
Gav Wood
5764ec5ddc
Merge pull request #609 from ethcore/tx-rpc-expose
...
Expose transaction insertion in sync lib
2016-03-10 15:28:43 +01:00
Tomasz Drwięga
9db4720162
Fixing clippy warnings.
2016-03-10 14:15:47 +01:00
Tomasz Drwięga
2e72173620
Merge branch 'master' into ethminer_crate
...
Conflicts:
Cargo.lock
Cargo.toml
hook.sh
miner/src/transaction_queue.rs
rpc/Cargo.toml
sync/Cargo.toml
sync/src/chain.rs
2016-03-10 12:25:36 +01:00
Gav Wood
99e577ad2f
Merge pull request #650 from ethcore/tx_queue_validation
...
Validate sender before importing to queue
2016-03-10 11:14:22 +01:00
Gav Wood
249a89fc2d
Merge pull request #627 from ethcore/clippy-dev
...
`dev` feature enabled when compiling without `--release`
2016-03-10 11:05:56 +01:00
Nikolay Volf
a2046b429f
exposing only one func
2016-03-10 13:27:33 +04:00
Tomasz Drwięga
cc47c80243
Merge branch 'master' into tx_queue_rpc
2016-03-10 09:44:46 +01:00
Tomasz Drwięga
2f9b955210
Merge branch 'master' into ethminer_crate
...
Conflicts:
parity/main.rs
2016-03-10 09:39:26 +01:00
Tomasz Drwięga
6864a08000
Merge branch 'master' into tx_queue_validation
2016-03-10 09:26:57 +01:00
Gav Wood
2ecad23fab
Merge pull request #647 from ethcore/sync
...
Fixed sync handling large forks
2016-03-10 00:53:20 +01:00
Nikolay Volf
ddc3440712
Merge branch 'master' into tx-rpc-expose
...
Conflicts:
sync/src/chain.rs
2016-03-10 03:22:32 +04:00
Nikolay Volf
663eec8a76
Merge branch 'master' into tx-rpc-expose
2016-03-10 03:03:27 +04:00
arkpar
d7e729a4ea
Fixed sync handling large forks
2016-03-09 23:55:56 +01:00
Tomasz Drwięga
363de973c9
Adding documentation and ditching EthMiner
2016-03-09 14:26:28 +01:00
Tomasz Drwięga
9d664336b5
Tratifying Miner
2016-03-09 13:30:59 +01:00
Tomasz Drwięga
5db84c3233
Adding transactions to block
2016-03-09 13:09:34 +01:00
Tomasz Drwięga
f84d40734d
Validating sender before importing to queuue
2016-03-09 10:26:51 +01:00
Tomasz Drwięga
9acb36af87
Fixing tests compilation. Removing ethminer dependency on client
2016-03-08 16:23:32 +01:00
Tomasz Drwięga
99a6802b61
Moving block sealing and transaction_queue to separate create
2016-03-08 15:46:44 +01:00
Tomasz Drwięga
1184679d23
Merge branch 'tx_queue_integration' into tx_queue_rpc
2016-03-08 10:17:01 +01:00
Tomasz Drwięga
f973610b38
Merge branch 'master' into tx_queue_integration
2016-03-08 10:15:11 +01:00
Tomasz Drwięga
69db469d39
Merge branch 'master' into clippy-dev
...
Conflicts:
util/src/journaldb.rs
2016-03-07 14:35:42 +01:00
Tomasz Drwięga
cbc2c0cf0c
Fixing clippy warnings. When building on nightly it is required to enable clippy
2016-03-07 14:34:17 +01:00
Tomasz Drwięga
e83f856104
Merging chain_blocks_verified to chain_new_blocks
2016-03-07 12:16:37 +01:00
arkpar
58721475ff
Do not remove the peer immediatelly on send error
2016-03-07 11:34:07 +01:00
Tomasz Drwięga
b0ac103900
Merge branch 'master' into tx_queue_integration
2016-03-07 09:54:07 +01:00
Tomasz Drwięga
c49258e866
Merge branch 'tx_queue_integration' into tx_queue_rpc
2016-03-06 11:15:16 +01:00
Tomasz Drwięga
e91de78528
Renaming back bad as retracted
2016-03-06 11:12:02 +01:00
Tomasz Drwięga
aaf2e0c3fb
Locking outside of loop
2016-03-06 11:04:24 +01:00
arkpar
003d1fd0cc
Network tracing improvements
2016-03-05 23:32:38 +01:00
Nikolay Volf
e100ecbeac
exposing in lib
2016-03-05 23:47:28 +03:00
Tomasz Drwięga
67f2bc40e6
Merge remote-tracking branch 'origin/tx_queue_integration' into tx_queue_rpc
2016-03-05 16:49:13 +01:00
Tomasz Drwięga
cc3839ae57
Revert "Revert "Transaction Queue integration""
...
This reverts commit d330f0b7b7
.
Conflicts:
sync/src/transaction_queue.rs
2016-03-05 16:46:04 +01:00
Gav Wood
d330f0b7b7
Revert "Transaction Queue integration"
2016-03-05 12:53:54 +01:00
Tomasz Drwięga
b9a6a70ced
Renaming bad blocks as retracted
2016-03-05 11:37:19 +01:00
Tomasz Drwięga
8a13e87cbe
Renaming BlocksWith helper to EachBlockWith
2016-03-05 11:30:27 +01:00
Tomasz Drwięga
77d526fd0b
Merge branch 'master' into tx_queue_integration
...
Conflicts:
ethcore/src/client.rs
sync/src/tests/helpers.rs
2016-03-05 00:57:45 +01:00