-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Transactions sent from a non-authority node not sealed In "Proof of Authority" chain #2022
Comments
Log on non-authority node with tracing. Made `eth_sendTransaction" during this log root@076822a951e3:/# tail -f /var/log/parity.log
warning: invalid logging spec 'sync=trace txqueue=trace', ignoring it
2016-08-30 23:46:06 UTCStarting Parity/v1.3.0-beta/x86_64-linux-gnu/rustc1.10.0
2016-08-30 23:46:06 UTCUsing state DB journalling strategy fast
2016-08-30 23:46:06 UTCConfigured for Private using BasicAuthority engine
2016-08-30 23:46:11 UTCPublic node URL: enode://27d55e006ac9b16c53a566618ed704d6af4cd7e42b62b3863b19a6b4372c32ee9ed71ff9bc9a6552a2c61d1070e1243f8b255619fbd8b765ea9df12d79f9178f@172.17.0.3:30303
2016-08-30 23:46:11 UTCSyncing #0 d2ce…0a21 0 blk/s 0 tx/s 0 Mgas/s 0+ 0 Qed #0 1/ 1/25 peers 6 KiB db 7 KiB chain 2 KiB queue 8 KiB sync
2016-08-30 23:46:16 UTCSyncing #0 d2ce…0a21 0 blk/s 0 tx/s 0 Mgas/s 0+ 0 Qed #0 1/ 1/25 peers 6 KiB db 7 KiB chain 2 KiB queue 8 KiB sync
2016-08-30 23:46:21 UTCSyncing #0 d2ce…0a21 0 blk/s 0 tx/s 0 Mgas/s 0+ 0 Qed #0 1/ 1/25 peers 6 KiB db 7 KiB chain 2 KiB queue 8 KiB sync
2016-08-30 23:46:42 UTCImported #1 14a5…23f7 (1 txs, 0.02 Mgas, 0.62 ms, 0.65 KiB)
2016-08-30 23:46:52 UTC 0/ 1/25 peers 7 KiB db 9 KiB chain 2 KiB queue 10 KiB sync |
Sorry the log pattern I provided is wrong. It should be |
Make sure that |
what should be gasPrice in PoA mode? with new log parameters after submitting a transaction to create a contract on non-authority node root@ec94c70d1cf1:/# tail -n 300 -f /var/log/parity.log
2016-08-31 15:27:06 UTCmain INFO parity::run Starting Parity/v1.4.0-unstable-6945dc3-20160830/x86_64-linux-gnu/rustc1.11.0
2016-08-31 15:27:06 UTCmain INFO parity::run Using state DB journalling strategy fast
2016-08-31 15:27:06 UTCmain INFO ethcore::service Configured for Private using BasicAuthority engine
2016-08-31 15:27:11 UTCIO Worker #1 INFO network Public node URL: enode://2ea4142f8d9324f03ec77f61588e93314b1ad9df2a3a72d7907e603cde054c1d6b86db67445f8ead51e0371af3c26c083d8d5c06f4ad361e58d008b81d021d1b@172.17.0.2:30303
2016-08-31 15:27:37 UTCIO Worker #1 INFO import 0/ 0/25 peers 6 KiB db 7 KiB chain 2 KiB queue 448 bytes sync
2016-08-31 15:27:43 UTCIO Worker #1 TRACE sync == Connected 0: Parity/v1.3.0-beta/x86_64-linux-gnu/rustc1.10.0
2016-08-31 15:27:43 UTCIO Worker #0 TRACE sync New peer 0 (protocol: 63, network: 173, difficulty: Some(131072), latest:aa9f…083b, genesis:aa9f…083b)
2016-08-31 15:27:43 UTCIO Worker #0 DEBUG sync Connected 0:Parity/v1.3.0-beta/x86_64-linux-gnu/rustc1.10.0
2016-08-31 15:28:08 UTCIO Worker #2 INFO import 0/ 1/25 peers 6 KiB db 7 KiB chain 2 KiB queue 8 KiB sync
2016-08-31 15:28:38 UTCIO Worker #0 INFO import 0/ 1/25 peers 6 KiB db 7 KiB chain 2 KiB queue 8 KiB sync
2016-08-31 15:29:08 UTCIO Worker #1 INFO import 0/ 1/25 peers 6 KiB db 7 KiB chain 2 KiB queue 8 KiB sync on non-authority node 2016-08-31 15:27:37 UTC<main> INFO parity::run Starting Parity/v1.3.0-beta/x86_64-linux-gnu/rustc1.10.0
2016-08-31 15:27:37 UTC<main> INFO parity::run Using state DB journalling strategy fast
2016-08-31 15:27:37 UTC<main> INFO ethcore::service Configured for Private using BasicAuthority engine
2016-08-31 15:27:43 UTCIO Worker #0 INFO network Public node URL: enode://7c3b901cc1a81a8d7e4d37ac2abaefc0d9294063e5c6ee4a9092236fce2c38aa64037794dea410f9e591e5f17bd1fcb5b9029ec1af4d52907e38e0364a072557@172.17.0.3:30303
2016-08-31 15:27:43 UTCIO Worker #3 TRACE sync == Connected 0: Parity/v1.4.0-unstable-6945dc3-20160830/x86_64-linux-gnu/rustc1.11.0
2016-08-31 15:27:43 UTCIO Worker #3 TRACE sync New peer 0 (protocol: 63, network: 173, difficulty: Some(131072), latest:aa9f…083b, genesis:aa9f…083b)
2016-08-31 15:27:43 UTCIO Worker #3 DEBUG sync Connected 0:Parity/v1.4.0-unstable-6945dc3-20160830/x86_64-linux-gnu/rustc1.11.0
2016-08-31 15:28:09 UTCIO Worker #1 INFO import 0/ 1/25 peers 6 KiB db 7 KiB chain 2 KiB queue 8 KiB sync
2016-08-31 15:28:39 UTCIO Worker #0 INFO import 0/ 1/25 peers 6 KiB db 7 KiB chain 2 KiB queue 8 KiB sync
2016-08-31 15:29:10 UTCIO Worker #2 INFO import 0/ 1/25 peers 6 KiB db 7 KiB chain 2 KiB queue 8 KiB sync
2016-08-31 15:29:40 UTCIO Worker #3 INFO import 0/ 1/25 peers 6 KiB db 7 KiB chain 2 KiB queue 8 KiB sync |
So there are not logs indicating that the transaction was submitted. Are you sure Can you try running both nodes with |
My bad, looked at old container. Sorry. On non-authority node after submitting a transaction 2016-08-31 18:36:49 UTC TRACE own_tx Importing transaction: SignedTransaction { unsigned: Transaction { nonce: 0, gas_price: 0, gas: 940000, action: Create, value: 0, data: [96, 96, 96, 64, 82, 96, 73, 128, 96, 16, 96, 0, 57, 96, 0, 243, 96, 96, 96, 64, 82, 54, 21, 96, 10, 87, 91, 96, 71, 96, 64, 128, 81, 96, 1, 129, 82, 144, 81, 127, 36, 171, 219, 88, 101, 223, 80, 121, 220, 197, 172, 89, 15, 246, 240, 29, 92, 22, 237, 188, 95, 171, 78, 25, 93, 159, 235, 209, 17, 69, 3, 218, 145, 129, 144, 3, 96, 32, 1, 144, 161, 96, 1, 96, 0, 85, 86, 91, 0] }, v: 27, r: 38115487123486045363656203321194606643006651585289695261765888465113547960953, s: 50859192474906175055954877079254253515583349233297897138075028924896411708303, hash: Cell { value: Some(fcce1a53964f45d5ceb23a21cb83bf0b3d2812b3fc72de0548f63d3e9420ecd7) }, sender: Cell { value: None } }
2016-08-31 18:36:49 UTC TRACE txqueue Importing: fcce1a53964f45d5ceb23a21cb83bf0b3d2812b3fc72de0548f63d3e9420ecd7
2016-08-31 18:36:49 UTC TRACE txqueue status: TransactionQueueStatus { pending: 1, future: 0 }
2016-08-31 18:36:49 UTC TRACE own_tx Imported transaction to Current (hash: fcce1a53964f45d5ceb23a21cb83bf0b3d2812b3fc72de0548f63d3e9420ecd7)
2016-08-31 18:36:49 UTC TRACE own_tx Status: TransactionQueueStatus { pending: 1, future: 0 }
2016-08-31 18:36:49 UTChyper-client INFO miner Updated conversion rate to Ξ1 = US$11.42 (20848970000 wei/gas)
2016-08-31 18:37:17 UTCIO Worker #3 INFO import 0/ 1/25 peers 6 KiB db 7 KiB chain 2 KiB queue 8 KiB sync
2016-08-31 18:37:47 UTCIO Worker #0 INFO import 0/ 1/25 peers 6 KiB db 7 KiB chain 2 KiB queue 8 KiB sync
2016-08-31 18:38:18 UTCIO Worker #1 INFO import 0/ 1/25 peers 6 KiB db 7 KiB chain 2 KiB queue 8 KiB sync
2016-08-31 18:38:49 UTCIO Worker #2 INFO import 0/ 1/25 peers 6 KiB db 7 KiB chain 2 KiB queue 8 KiB sync
2016-08-31 18:39:20 UTCIO Worker #3 INFO import 0/ 1/25 peers 6 KiB db 7 KiB chain 2 KiB queue 8 KiB sync
2016-08-31 18:39:50 UTCIO Worker #0 INFO import 0/ 1/25 peers 6 KiB db 7 KiB chain 2 KiB queue 8 KiB sync
2016-08-31 18:40:21 UTCIO Worker #1 INFO import 0/ 1/25 peers 6 KiB db 7 KiB chain 2 KiB queue 8 KiB sy |
Hm, it seems that we are propagating transactions only when new block is imported. We already have a solution, should be ready tomorrow. |
@tomusdrw I have strange behavior after update parity client on both nodes with #2035 2016-09-01 19:00:10 UTC TRACE own_tx Importing transaction: SignedTransaction { unsigned: Transaction { nonce: 1, gas_price: 0, gas: 940000, action: Create, value: 0, data: [96, 96, 96, 64, 82, 96, 73, 128, 96, 16, 96, 0, 57, 96, 0, 243, 96, 96, 96, 64, 82, 54, 21, 96, 10, 87, 91, 96, 71, 96, 64, 128, 81, 96, 1, 129, 82, 144, 81, 127, 36, 171, 219, 88, 101, 223, 80, 121, 220, 197, 172, 89, 15, 246, 240, 29, 92, 22, 237, 188, 95, 171, 78, 25, 93, 159, 235, 209, 17, 69, 3, 218, 145, 129, 144, 3, 96, 32, 1, 144, 161, 96, 1, 96, 0, 85, 86, 91, 0] }, v: 27, r: 32255269987171049238794158140339767690434164442014788719265291041328851080771, s: 54137026647546347514396521038063191147059300264178917256729076517978863587533, hash: Cell { value: Some(23550701c9e6c379c88d2199ab08c8cf497b5622442a5dfca594cc80ec0afa2c) }, sender: Cell { value: None } }
2016-09-01 19:00:10 UTC TRACE txqueue Importing: 23550701c9e6c379c88d2199ab08c8cf497b5622442a5dfca594cc80ec0afa2c
2016-09-01 19:00:10 UTC TRACE txqueue status: TransactionQueueStatus { pending: 2, future: 0 }
2016-09-01 19:00:10 UTC TRACE own_tx Imported transaction to Current (hash: 23550701c9e6c379c88d2199ab08c8cf497b5622442a5dfca594cc80ec0afa2c)
2016-09-01 19:00:10 UTC TRACE own_tx Status: TransactionQueueStatus { pending: 2, future: 0 }
2016-09-01 19:00:10 UTCIO Worker #3 TRACE sync Sent up to 2 transactions to 2 peers.
2016-09-01 19:00:11 UTCIO Worker #0 TRACE sync 0 -> Transactions (1 entries)
2016-09-01 19:00:11 UTCIO Worker #3 TRACE sync 1 -> Transactions (1 entries)2016-09-01 19:00:11 UTCIO Worker #3 TRACE txqueue Importing: 23550701c9e6c379c88d2199ab08c8cf497b5622442a5dfca594cc80ec0afa2c
2016-09-01 19:00:11 UTCIO Worker #3 TRACE txqueue Dropping already imported transaction: 23550701c9e6c379c88d2199ab08c8cf497b5622442a5dfca594cc80ec0afa2c
2016-09-01 19:00:11 UTCIO Worker #2 TRACE txqueue Importing: 23550701c9e6c379c88d2199ab08c8cf497b5622442a5dfca594cc80ec0afa2c
2016-09-01 19:00:11 UTCIO Worker #2 TRACE txqueue Dropping already imported transaction: 23550701c9e6c379c88d2199ab08c8cf497b5622442a5dfca594cc80ec0afa2c
2016-09-01 19:00:11 UTCIO Worker #2 TRACE sync Sent up to 2 transactions to 2 peers.
2016-09-01 19:00:12 UTCIO Worker #0 TRACE sync 0 -> Transactions (1 entries)
2016-09-01 19:00:12 UTCIO Worker #1 TRACE sync 1 -> Transactions (1 entries)
2016-09-01 19:00:12 UTCIO Worker #0 TRACE txqueue Importing: 4ba434f917cd9578db082a76aa3ed90209bef721829bcd256afcb314a58f8b16
2016-09-01 19:00:12 UTCIO Worker #0 TRACE txqueue Dropping already imported transaction: 4ba434f917cd9578db082a76aa3ed90209bef721829bcd256afcb314a58f8b16
2016-09-01 19:00:12 UTCIO Worker #1 TRACE txqueue Importing: 4ba434f917cd9578db082a76aa3ed90209bef721829bcd256afcb314a58f8b16
2016-09-01 19:00:12 UTCIO Worker #1 TRACE txqueue Dropping already imported transaction: 4ba434f917cd9578db082a76aa3ed90209bef721829bcd256afcb314a58f8b16
2016-09-01 19:00:12 UTCIO Worker #2 TRACE sync Sent up to 2 transactions to 2 peers.
2016-09-01 19:00:13 UTCIO Worker #1 TRACE sync 0 -> Transactions (1 entries)
2016-09-01 19:00:13 UTCIO Worker #3 TRACE sync 1 -> Transactions (1 entries)2016-09-01 19:00:13 UTCIO Worker #3 TRACE txqueue Importing: 23550701c9e6c379c88d2199ab08c8cf497b5622442a5dfca594cc80ec0afa2c
2016-09-01 19:00:13 UTCIO Worker #3 TRACE txqueue Dropping already imported transaction: 23550701c9e6c379c88d2199ab08c8cf497b5622442a5dfca594cc80ec0afa2c
2016-09-01 19:00:13 UTCIO Worker #2 TRACE txqueue Importing: 23550701c9e6c379c88d2199ab08c8cf497b5622442a5dfca594cc80ec0afa2c
2016-09-01 19:00:13 UTCIO Worker #2 TRACE txqueue Dropping already imported transaction: 23550701c9e6c379c88d2199ab08c8cf497b5622442a5dfca594cc80ec0afa2c
2016-09-01 19:00:13 UTCIO Worker #2 TRACE sync Sent up to 2 transactions to 2 peers.
2016-09-01 19:00:14 UTCIO Worker #1 TRACE sync 0 -> Transactions (1 entries)
2016-09-01 19:00:14 UTCIO Worker #0 TRACE sync 1 -> Transactions (1 entries)
2016-09-01 19:00:14 UTCIO Worker #0 TRACE txqueue Importing: 4ba434f917cd9578db082a76aa3ed90209bef721829bcd256afcb314a58f8b16
2016-09-01 19:00:14 UTCIO Worker #0 TRACE txqueue Dropping already imported transaction: 4ba434f917cd9578db082a76aa3ed90209bef721829bcd256afcb314a58f8b16
2016-09-01 19:00:14 UTCIO Worker #1 TRACE txqueue Importing: 4ba434f917cd9578db082a76aa3ed90209bef721829bcd256afcb314a58f8b16
2016-09-01 19:00:14 UTCIO Worker #1 TRACE txqueue Dropping already imported transaction: 4ba434f917cd9578db082a76aa3ed90209bef721829bcd256afcb314a58f8b16
2016-09-01 19:00:14 UTCIO Worker #2 TRACE sync Sent up to 2 transactions to 2 peers.
2016-09-01 19:00:15 UTCIO Worker #0 TRACE sync 0 -> Transactions (1 entries)
2016-09-01 19:00:15 UTCIO Worker #2 TRACE txqueue Importing: 23550701c9e6c379c88d2199ab08c8cf497b5622442a5dfca594cc80ec0afa2c
2016-09-01 19:00:15 UTCIO Worker #3 TRACE sync 1 -> Transactions (1 entries)
2016-09-01 19:00:15 UTCIO Worker #2 TRACE txqueue Dropping already imported transaction: 23550701c9e6c379c88d2199ab08c8cf497b5622442a5dfca594cc80ec0afa2c
2016-09-01 19:00:15 UTCIO Worker #0 TRACE txqueue Importing: 23550701c9e6c379c88d2199ab08c8cf497b5622442a5dfca594cc80ec0afa2c
2016-09-01 19:00:15 UTCIO Worker #0 TRACE txqueue Dropping already imported transaction: 23550701c9e6c379c88d2199ab08c8cf497b5622442a5dfca594cc80ec0afa2c
2016-09-01 19:00:16 UTCIO Worker #2 TRACE sync Sent up to 2 transactions to 2 peers.
2016-09-01 19:00:16 UTCIO Worker #1 TRACE sync 1 -> Transactions (1 entries)
2016-09-01 19:00:16 UTCIO Worker #1 TRACE txqueue Importing: 4ba434f917cd9578db082a76aa3ed90209bef721829bcd256afcb314a58f8b16
2016-09-01 19:00:16 UTCIO Worker #3 TRACE sync 0 -> Transactions (1 entries)
2016-09-01 19:00:16 UTCIO Worker #1 TRACE txqueue Dropping already imported transaction: 4ba434f917cd9578db082a76aa3ed90209bef721829bcd256afcb314a58f8b16
2016-09-01 19:00:16 UTCIO Worker #3 TRACE txqueue Importing: 4ba434f917cd9578db082a76aa3ed90209bef721829bcd256afcb314a58f8b16
2016-09-01 19:00:16 UTCIO Worker #3 TRACE txqueue Dropping already imported transaction: 4ba434f917cd9578db082a76aa3ed90209bef721829bcd256afcb314a58f8b16
2016-09-01 19:00:17 UTCIO Worker #2 TRACE sync Sent up to 2 transactions to 2 peers.
2016-09-01 19:00:18 UTCIO Worker #3 TRACE sync 0 -> Transactions (1 entries)
2016-09-01 19:00:18 UTCIO Worker #2 TRACE txqueue Importing: 23550701c9e6c379c88d2199ab08c8cf497b5622442a5dfca594cc80ec0afa2c2016-09-01 19:00:18 UTCIO Worker #1 TRACE sync 1 -> Transactions (1 entries) in authority node logs 2016-09-01 19:05:42 UTCIO Worker #3 TRACE sync Sent up to 2 transactions to 2 peers.
2016-09-01 19:05:42 UTCIO Worker #1 TRACE sync 0 -> Transactions (1 entries)
2016-09-01 19:05:42 UTCIO Worker #0 TRACE sync 1 -> Transactions (1 entries)
2016-09-01 19:05:42 UTCIO Worker #1 TRACE txqueue Importing: 23550701c9e6c379c88d2199ab08c8cf497b5622442a5dfca594cc80ec0afa2c
2016-09-01 19:05:42 UTCIO Worker #1 TRACE txqueue Dropping already imported transaction: 23550701c9e6c379c88d2199ab08c8cf497b5622442a5dfca594cc80ec0afa2c
2016-09-01 19:05:42 UTCIO Worker #2 TRACE txqueue Importing: 23550701c9e6c379c88d2199ab08c8cf497b5622442a5dfca594cc80ec0afa2c
2016-09-01 19:05:42 UTCIO Worker #2 TRACE txqueue Dropping already imported transaction: 23550701c9e6c379c88d2199ab08c8cf497b5622442a5dfca594cc80ec0afa2c
2016-09-01 19:05:43 UTCIO Worker #1 TRACE sync Sent up to 2 transactions to 2 peers.
2016-09-01 19:05:43 UTCIO Worker #1 TRACE sync 1 -> Transactions (1 entries)
2016-09-01 19:05:43 UTCIO Worker #0 TRACE sync 0 -> Transactions (1 entries)
2016-09-01 19:05:43 UTCIO Worker #0 TRACE txqueue Importing: 4ba434f917cd9578db082a76aa3ed90209bef721829bcd256afcb314a58f8b16
2016-09-01 19:05:43 UTCIO Worker #0 TRACE txqueue Dropping already imported transaction: 4ba434f917cd9578db082a76aa3ed90209bef721829bcd256afcb314a58f8b16
2016-09-01 19:05:43 UTCIO Worker #3 TRACE txqueue Importing: 4ba434f917cd9578db082a76aa3ed90209bef721829bcd256afcb314a58f8b16
2016-09-01 19:05:43 UTCIO Worker #3 TRACE txqueue Dropping already imported transaction: 4ba434f917cd9578db082a76aa3ed90209bef721829bcd256afcb314a58f8b16
2016-09-01 19:05:44 UTCIO Worker #3 TRACE sync Sent up to 2 transactions to 2 peers.
2016-09-01 19:05:44 UTCIO Worker #2 TRACE sync 0 -> Transactions (1 entries)
2016-09-01 19:05:44 UTCIO Worker #1 TRACE txqueue Importing: 23550701c9e6c379c88d2199ab08c8cf497b5622442a5dfca594cc80ec0afa2c
2016-09-01 19:05:44 UTCIO Worker #3 TRACE sync 1 -> Transactions (1 entries)
2016-09-01 19:05:44 UTCIO Worker #1 TRACE txqueue Dropping already imported transaction: 23550701c9e6c379c88d2199ab08c8cf497b5622442a5dfca594cc80ec0afa2c
2016-09-01 19:05:44 UTCIO Worker #2 TRACE txqueue Importing: 23550701c9e6c379c88d2199ab08c8cf497b5622442a5dfca594cc80ec0afa2c
2016-09-01 19:05:44 UTCIO Worker #2 TRACE txqueue Dropping already imported transaction: 23550701c9e6c379c88d2199ab08c8cf497b5622442a5dfca594cc80ec0afa2c
2016-09-01 19:05:45 UTCIO Worker #1 TRACE sync Sent up to 2 transactions to 2 peers.
2016-09-01 19:05:46 UTCIO Worker #3 TRACE sync 0 -> Transactions (1 entries)
2016-09-01 19:05:46 UTCIO Worker #3 TRACE txqueue Importing: 4ba434f917cd9578db082a76aa3ed90209bef721829bcd256afcb314a58f8b16
2016-09-01 19:05:46 UTCIO Worker #0 TRACE sync 1 -> Transactions (1 entries)
2016-09-01 19:05:46 UTCIO Worker #3 TRACE txqueue Dropping already imported transaction: 4ba434f917cd9578db082a76aa3ed90209bef721829bcd256afcb314a58f8b16
2016-09-01 19:05:46 UTCIO Worker #1 TRACE txqueue Importing: 4ba434f917cd9578db082a76aa3ed90209bef721829bcd256afcb314a58f8b16
2016-09-01 19:05:46 UTCIO Worker #1 TRACE txqueue Dropping already imported transaction: 4ba434f917cd9578db082a76aa3ed90209bef721829bcd256afcb314a58f8b16
2016-09-01 19:05:46 UTCIO Worker #1 TRACE sync Sent up to 2 transactions to 2 peers.
2016-09-01 19:05:47 UTCIO Worker #2 TRACE sync 0 -> Transactions (1 entries)
2016-09-01 19:05:47 UTCIO Worker #3 TRACE sync 1 -> Transactions (1 entries)
2016-09-01 19:05:47 UTCIO Worker #2 TRACE txqueue Importing: 23550701c9e6c379c88d2199ab08c8cf497b5622442a5dfca594cc80ec0afa2c
2016-09-01 19:05:47 UTCIO Worker #2 TRACE txqueue Dropping already imported transaction: 23550701c9e6c379c88d2199ab08c8cf497b5622442a5dfca594cc80ec0afa2c
2016-09-01 19:05:47 UTCIO Worker #0 TRACE txqueue Importing: 23550701c9e6c379c88d2199ab08c8cf497b5622442a5dfca594cc80ec0afa2c
2016-09-01 19:05:47 UTCIO Worker #0 TRACE txqueue Dropping already imported transaction: 23550701c9e6c379c88d2199ab08c8cf497b5622442a5dfca594cc80ec0afa2c |
Here is a video from my terminal on both nodes https://asciinema.org/a/d87trn1kiaogqi21exqk17oqg |
@keorn should I create a new issue or we can reopen this one? |
Please run authority node with EDIT: The options are ok, however it makes more sense for PoW then PoA: So for |
I added 2016-09-02 15:31:00 UTC TRACE own_tx Importing transaction: SignedTransaction { unsigned: Transaction { nonce: 0, gas_price: 0, gas: 940000, action: Call(949bd11bf0f6d2d977b7c60d9e9c2fe1fdb562cd), value: 0, data: [249, 251, 213, 84, 72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] }, v: 28, r: 31028753030816945764096932336806952328357937368267847249813920083361240347888, s: 15297501684754373536378609196830858637917132307126131036956312002527089194442, hash: Cell { value: Some(413ec93c7f6f296a441e2fe52e14d610452726c80eb749ec6bcf531ac6c4e1bf) }, sender: Cell { value: None } }
2016-09-02 15:31:00 UTC TRACE txqueue Importing: 413ec93c7f6f296a441e2fe52e14d610452726c80eb749ec6bcf531ac6c4e1bf
2016-09-02 15:31:00 UTC TRACE txqueue status: TransactionQueueStatus { pending: 1, future: 0 }
2016-09-02 15:31:00 UTC TRACE own_tx Imported transaction to Current (hash: 413ec93c7f6f296a441e2fe52e14d610452726c80eb749ec6bcf531ac6c4e1bf)
2016-09-02 15:31:00 UTC TRACE own_tx Status: TransactionQueueStatus { pending: 1, future: 0 }
2016-09-02 15:31:00 UTChyper-client INFO miner Updated conversion rate to Ξ1 = US$12.2 (0 wei/gas)
2016-09-02 15:31:00 UTCIO Worker #1 TRACE sync Sent up to 1 transactions to 1 peers.
2016-09-02 15:31:01 UTCIO Worker #2 TRACE sync Sent up to 1 transactions to 0 peers.
2016-09-02 15:31:03 UTCIO Worker #3 TRACE sync Sent up to 1 transactions to 0 peers.
2016-09-02 15:31:04 UTCIO Worker #0 TRACE sync Sent up to 1 transactions to 0 peers.
2016-09-02 15:31:05 UTCIO Worker #2 TRACE sync Sent up to 1 transactions to 0 peers.
2016-09-02 15:31:06 UTCIO Worker #1 TRACE sync Sent up to 1 transactions to 0 peers.
2016-09-02 15:31:07 UTCIO Worker #2 TRACE sync Sent up to 1 transactions to 0 peers.
2016-09-02 15:31:08 UTCIO Worker #0 TRACE sync Sent up to 1 transactions to 0 peers.
2016-09-02 15:31:10 UTCIO Worker #3 TRACE sync Sent up to 1 transactions to 0 peers.
2016-09-02 15:31:11 UTCIO Worker #1 TRACE sync Sent up to 1 transactions to 0 peers.
2016-09-02 15:31:12 UTCIO Worker #2 TRACE sync Sent up to 1 transactions to 0 peers.
2016-09-02 15:31:13 UTCIO Worker #0 TRACE sync Sent up to 1 transactions to 0 peers.
2016-09-02 15:31:14 UTCIO Worker #1 TRACE sync Sent up to 1 transactions to 0 peers.
2016-09-02 15:31:15 UTCIO Worker #3 TRACE sync Sent up to 1 transactions to 0 peers.
2016-09-02 15:31:17 UTCIO Worker #0 TRACE sync Sent up to 1 transactions to 0 peers.
2016-09-02 15:31:18 UTCIO Worker #2 TRACE sync Sent up to 1 transactions to 0 peers.
2016-09-02 15:31:19 UTCIO Worker #1 TRACE sync Sent up to 1 transactions to 0 peers.
2016-09-02 15:31:20 UTCIO Worker #0 TRACE sync Sent up to 1 transactions to 0 peers.
2016-09-02 15:31:21 UTCIO Worker #0 TRACE sync Sent up to 1 transactions to 0 peers.
2016-09-02 15:31:22 UTCIO Worker #3 TRACE sync Sent up to 1 transactions to 0 peers.
2016-09-02 15:31:23 UTCIO Worker #1 TRACE sync Sent up to 1 transactions to 0 peers.
2016-09-02 15:31:24 UTCIO Worker #0 TRACE sync Sent up to 1 transactions to 0 peers.
2016-09-02 15:31:25 UTCIO Worker #0 INFO import 0/ 1/25 peers 9 KiB db 13 KiB chain 2 KiB queue 11 KiB sync
2016-09-02 15:31:25 UTCIO Worker #2 TRACE sync Sent up to 1 transactions to 0 peers.
2016-09-02 15:31:26 UTCIO Worker #1 TRACE sync Sent up to 1 transactions to 0 peers.
2016-09-02 15:31:27 UTCIO Worker #0 TRACE sync Sent up to 1 transactions to 0 peers.
2016-09-02 15:31:29 UTCIO Worker #3 TRACE sync Sent up to 1 transactions to 0 peers.
2016-09-02 15:31:29 UTCIO Worker #2 TRACE sync 1 -> NewHashes (1 entries)
2016-09-02 15:31:29 UTCIO Worker #2 TRACE sync New unknown block hash 3d19ef2d2ee819cc47e78d7c79299e804573f4cc7df8c644763c4b5d19f2df86
2016-09-02 15:31:29 UTCIO Worker #2 TRACE sync Downloading blocks for new hashes
2016-09-02 15:31:29 UTCIO Worker #2 TRACE sync 1 <- GetBlockHeaders: 128 entries starting from 3d19…df86
2016-09-02 15:31:29 UTCIO Worker #0 TRACE sync 1 -> NewBlock (3d19…df86)
2016-09-02 15:31:29 UTCIO Worker #0 TRACE sync New block queued 3d19ef2d2ee819cc47e78d7c79299e804573f4cc7df8c644763c4b5d19f2df86 (3)
2016-09-02 15:31:29 UTCIO Worker #3 TRACE sync 1 -> BlockHeaders (1 entries), state = NewBlocks
2016-09-02 15:31:29 UTCIO Worker #3 TRACE sync Header already in chain 3 (3d19…df86)
2016-09-02 15:31:29 UTCIO Worker #3 TRACE sync Inserted 1 headers
2016-09-02 15:31:29 UTCIO Worker #3 TRACE sync New header: 3d19ef2d2ee819cc47e78d7c79299e804573f4cc7df8c644763c4b5d19f2df86
2016-09-02 15:31:29 UTCIO Worker #3 TRACE sync Imported 0 of 0
2016-09-02 15:31:29 UTCIO Worker #3 TRACE sync Syncing with 1/1 peers
2016-09-02 15:31:29 UTCIO Worker #3 TRACE sync Sync complete
2016-09-02 15:31:29 UTCIO Worker #1 TRACE txqueue Removing old transaction: 413ec93c7f6f296a441e2fe52e14d610452726c80eb749ec6bcf531ac6c4e1bf (nonce: 0 < 1)
2016-09-02 15:31:29 UTC TRACE sync Sending NewHashes to []
2016-09-02 15:31:29 UTC TRACE sync Sending NewBlocks to []
2016-09-02 15:31:29 UTCIO Worker #1 INFO import Imported #3 3d19…df86 (1 txs, 0.03 Mgas, 0.20 ms, 0.68 KiB)
2016-09-02 15:31:29 UTCIO Worker #1 TRACE sync == Disconnecting 1: Parity/v1.4.0-unstable-cabb028-20160901/x86_64-linux-gnu/rustc1.11.0
2016-09-02 15:31:29 UTCIO Worker #1 DEBUG sync Disconnected 1
2016-09-02 15:31:29 UTCIO Worker #1 TRACE sync Syncing with 0/0 peers
2016-09-02 15:31:29 UTCIO Worker #1 TRACE sync Sync complete
2016-09-02 15:31:29 UTCIO Worker #0 TRACE sync == Connected 1: Parity/v1.4.0-unstable-cabb028-20160901/x86_64-linux-gnu/rustc1.11.0
2016-09-02 15:31:29 UTCIO Worker #3 TRACE sync New peer 1 (protocol: 63, network: 173, difficulty: Some(524288), latest:3d19…df86, genesis:4eab…101e)
2016-09-02 15:31:29 UTCIO Worker #3 DEBUG sync Connected 1:Parity/v1.4.0-unstable-cabb028-20160901/x86_64-linux-gnu/rustc1.11.0
2016-09-02 15:31:55 UTCIO Worker #2 INFO import 0/ 1/25 peers 9 KiB db 14 KiB chain 2 KiB queue 11 KiB sync
2016-09-02 15:32:22 UTC TRACE own_tx Importing transaction: SignedTransaction { unsigned: Transaction { nonce: 1, gas_price: 0, gas: 940000, action: Call(949bd11bf0f6d2d977b7c60d9e9c2fe1fdb562cd), value: 0, data: [249, 251, 213, 84, 72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] }, v: 27, r: 39037441415448715139653816945978691544838474913418756094929479728133028976367, s: 40695510262632600456052671449997320432611525766428790641700949634228711398543, hash: Cell { value: Some(94656888529be9f8f3a66ac3b6e9c1e752397f7e79718b98ad2bb6b93ab9e788) }, sender: Cell { value: None } }
2016-09-02 15:32:22 UTC TRACE txqueue Importing: 94656888529be9f8f3a66ac3b6e9c1e752397f7e79718b98ad2bb6b93ab9e788
2016-09-02 15:32:22 UTC TRACE txqueue status: TransactionQueueStatus { pending: 1, future: 0 }
2016-09-02 15:32:22 UTC TRACE own_tx Imported transaction to Current (hash: 94656888529be9f8f3a66ac3b6e9c1e752397f7e79718b98ad2bb6b93ab9e788)
2016-09-02 15:32:22 UTC TRACE own_tx Status: TransactionQueueStatus { pending: 1, future: 0 }
2016-09-02 15:32:22 UTCIO Worker #1 TRACE sync Sent up to 1 transactions to 1 peers.
2016-09-02 15:32:22 UTCIO Worker #0 TRACE sync 1 -> NewHashes (1 entries)
2016-09-02 15:32:22 UTCIO Worker #0 TRACE sync New unknown block hash d9abca48d3c8a0d16b6d24b61c5633af2b7095c4f90dcf181b246b890744c667
2016-09-02 15:32:22 UTCIO Worker #0 TRACE sync Downloading blocks for new hashes
2016-09-02 15:32:22 UTCIO Worker #0 TRACE sync 1 <- GetBlockHeaders: 128 entries starting from d9ab…c667
2016-09-02 15:32:22 UTCIO Worker #3 TRACE sync 1 -> NewBlock (d9ab…c667)
2016-09-02 15:32:22 UTCIO Worker #3 TRACE sync New block queued d9abca48d3c8a0d16b6d24b61c5633af2b7095c4f90dcf181b246b890744c667 (4)
2016-09-02 15:32:22 UTCIO Worker #0 TRACE txqueue Removing old transaction: 94656888529be9f8f3a66ac3b6e9c1e752397f7e79718b98ad2bb6b93ab9e788 (nonce: 1 < 2)
2016-09-02 15:32:22 UTC TRACE sync Sending NewHashes to []
2016-09-02 15:32:22 UTC TRACE sync Sending NewBlocks to []
2016-09-02 15:32:22 UTCIO Worker #0 INFO import Imported #4 d9ab…c667 (1 txs, 0.03 Mgas, 0.18 ms, 0.68 KiB)
2016-09-02 15:32:23 UTCIO Worker #2 TRACE sync 1 -> BlockHeaders (1 entries), state = NewBlocks
2016-09-02 15:32:23 UTCIO Worker #2 TRACE sync Header already in chain 4 (d9ab…c667)
2016-09-02 15:32:23 UTCIO Worker #2 TRACE sync Inserted 1 headers
2016-09-02 15:32:23 UTCIO Worker #2 TRACE sync New header: d9abca48d3c8a0d16b6d24b61c5633af2b7095c4f90dcf181b246b890744c667
2016-09-02 15:32:23 UTCIO Worker #2 TRACE sync Imported 0 of 0
2016-09-02 15:32:23 UTCIO Worker #2 TRACE sync Syncing with 1/1 peers
2016-09-02 15:32:23 UTCIO Worker #2 TRACE sync Sync complete
2016-09-02 15:32:25 UTCIO Worker #1 INFO import 0/ 1/25 peers 10 KiB db 15 KiB chain 2 KiB queue 11 KiB sync
2016-09-02 15:32:30 UTC TRACE own_tx Importing transaction: SignedTransaction { unsigned: Transaction { nonce: 2, gas_price: 0, gas: 940000, action: Call(949bd11bf0f6d2d977b7c60d9e9c2fe1fdb562cd), value: 0, data: [249, 251, 213, 84, 72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] }, v: 28, r: 23090769349534641719521530424294888330655333812903906507609727387783192891126, s: 48330014726750507187030627988009697327340630652853554786349491658141323576811, hash: Cell { value: Some(c95e44098d093d786b080b77c5e2c781469a955b293753865202a498a575c10b) }, sender: Cell { value: None } }
2016-09-02 15:32:30 UTC TRACE txqueue Importing: c95e44098d093d786b080b77c5e2c781469a955b293753865202a498a575c10b
2016-09-02 15:32:30 UTC TRACE txqueue status: TransactionQueueStatus { pending: 1, future: 0 }
2016-09-02 15:32:30 UTC TRACE own_tx Imported transaction to Current (hash: c95e44098d093d786b080b77c5e2c781469a955b293753865202a498a575c10b)
2016-09-02 15:32:30 UTC TRACE own_tx Status: TransactionQueueStatus { pending: 1, future: 0 }
2016-09-02 15:32:30 UTCIO Worker #3 TRACE sync Sent up to 1 transactions to 1 peers.
2016-09-02 15:32:30 UTCIO Worker #1 TRACE sync 1 -> NewHashes (1 entries)
2016-09-02 15:32:30 UTCIO Worker #1 TRACE sync New unknown block hash eed523c495ad857c200a736bb0d68ff930d27c56c9b70363629feb555683a460
2016-09-02 15:32:30 UTCIO Worker #1 TRACE sync Downloading blocks for new hashes
2016-09-02 15:32:30 UTCIO Worker #1 TRACE sync 1 <- GetBlockHeaders: 128 entries starting from eed5…a460
2016-09-02 15:32:30 UTCIO Worker #0 TRACE sync 1 -> NewBlock (eed5…a460)
2016-09-02 15:32:30 UTCIO Worker #0 TRACE sync New block queued eed523c495ad857c200a736bb0d68ff930d27c56c9b70363629feb555683a460 (5)
2016-09-02 15:32:30 UTCIO Worker #3 TRACE txqueue Removing old transaction: c95e44098d093d786b080b77c5e2c781469a955b293753865202a498a575c10b (nonce: 2 < 3)
|
I retested with clean containers and found interesting case. This infinite loop happens on first transaction and next transactions from non-authority node. After I submit a transaction which seals a block on master node all those loop transactions dropped on authority node and all further transactions sealing normally. I will record terminal video with this testing. |
recording https://asciinema.org/a/3y0j0q55q4ix4nrxea55ife7b |
|
Parity version root@493935f26c85:/# parity -v
Parity
version Parity/v1.4.0-unstable-e0feaa9-20160902/x86_64-linux-gnu/rustc1.11.0
Copyright 2015, 2016 Ethcore (UK) Limited
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
By Wood/Paronyan/Kotewicz/Drwięga/Volf.
|
Can you confirm that authority node is running with I have recreated your setup locally and didn't observe that so your logs would be helpful. |
It happens when you have |
Transaction sent from non-authority node is not included in a block. The same transaction (with different from/to) sent from authority node is included in a block.
Result of
eth_getTransactionReceipt
for the transcation from non-authority node:Transaction details
Nodes connected to each other. Parity UI returns
0/ 1/25 peers
.net_peerCount
returnsChain.json used by both nodes
Starting string of Authority node
parity --dapps-hosts all --dapps-interface 0.0.0.0 --dapps-port 8002 \ --dapps-user user --dapps-pass tcOx48dfEYSDfwANplLtH82tWv4CPh --chain \ /root/chain.json --force-sealing --author \ 0x245d22d1c5061d08648a162180800959d79c1f8d --unlock \ 0x245d22d1c5061d08648a162180800959d79c1f8d --password /root/.parity-pass \ --rpccorsdomain "*" --jsonrpc-hosts=all --jsonrpc-interface all
Starting string of Non-Authority node
parity --chain /root/chain.json --unlock \ 0xfe3fe367ece77a13d501adda3d4973d9bd5cef0e --password /root/.parity-pass \ --rpccorsdomain "*" --jsonrpc-hosts=all --jsonrpc-interface all --bootnodes \ enode://fab9d3eb0b3a5b7704c2e563351f95515b06d3bf20dc11c7d0e2ab56947a90827b15522c205b7a085cc6fad9540a537101bc4c30bb2d07cd2e906653346a76d6@172.17.0.2:30303
The text was updated successfully, but these errors were encountered: