A new synching cliri node sees a lot invalid transactions. So far, I can only say that for a docker node.
Acording to @alongalky this could have something to do with the weekly database deletion (every Sunday), where a new node doesn't have a synched valid timestamp for deciding what's valid and what's not.
Steps To Reproduce
clone repository
build dockerfile
create cliri.ini with at least one synched neighbor
run container: docker run -d --net=host --name cliri -v "pathTo cliri.ini on host":"pathTo cliri.ini in container" -v "pathTo database mountpoint on host":"pathTo database mountpoint in container"
Bug description
A new synching cliri node sees a lot invalid transactions. So far, I can only say that for a docker node. Acording to @alongalky this could have something to do with the weekly database deletion (every Sunday), where a new node doesn't have a synched valid timestamp for deciding what's valid and what's not.
Steps To Reproduce
My cliri.ini*: [IRI] PORT = 24265 UDP_RECEIVER_PORT = 24600 TCP_RECEIVER_PORT = 24600 NEIGHBORS = udp://x.x.x.x:14600 IXI_DIR = /iri/data/ixi DEBUG = false DB_PATH = /iri/data/znetdb
*I had to modify the default ports because I am running an iri with default ports on the same mashine.
Expected behaviour
Synch without invalid transactions
Actual behaviour
Neighbor status after 1 day:
"neighbors": [ { "address": "x.x.x.x:14600", "numberOfAllTransactions": 508981, "numberOfRandomTransactionRequests": 924, "numberOfNewTransactions": 20826, "numberOfInvalidTransactions": 486835, "numberOfStaleTransactions": 0, "numberOfSentTransactions": 41789, "connectionType": "udp" },
Errors
03/20 19:42:24.787 [pool-4-thread-7] ERROR com.iota.iri.network.Node - Invalid transaction hash 03/20 19:42:24.787 [pool-4-thread-7] ERROR com.iota.iri.network.Node - Received an Invalid TransactionViewModel. Dropping it... 03/20 19:42:24.811 [pool-4-thread-2] ERROR com.iota.iri.network.Node - Invalid transaction hash 03/20 19:42:24.811 [pool-4-thread-2] ERROR com.iota.iri.network.Node - Received an Invalid TransactionViewModel. Dropping it... 03/20 19:42:24.824 [pool-4-thread-11] ERROR com.iota.iri.network.Node - Invalid transaction hash 03/20 19:42:24.824 [pool-4-thread-11] ERROR com.iota.iri.network.Node - Received an Invalid TransactionViewModel. Dropping it... 03/20 19:42:25.626 [pool-4-thread-9] ERROR com.iota.iri.network.Node - Invalid transaction hash 03/20 19:42:25.626 [pool-4-thread-9] ERROR com.iota.iri.network.Node - Received an Invalid TransactionViewModel. Dropping it... 03/20 19:42:25.993 [pool-4-thread-1] ERROR com.iota.iri.network.Node - Invalid transaction hash 03/20 19:42:25.993 [pool-4-thread-1] ERROR com.iota.iri.network.Node - Received an Invalid TransactionViewModel. Dropping it... 03/20 19:42:26.026 [pool-4-thread-10] ERROR com.iota.iri.network.Node - Invalid transaction hash 03/20 19:42:26.026 [pool-4-thread-10] ERROR com.iota.iri.network.Node - Received an Invalid TransactionViewModel. Dropping it... 03/20 19:42:26.065 [pool-4-thread-16] ERROR com.iota.iri.network.Node - Invalid transaction hash 03/20 19:42:26.065 [pool-4-thread-16] ERROR com.iota.iri.network.Node - Received an Invalid TransactionViewModel. Dropping it... 03/20 19:42:26.099 [pool-4-thread-6] ERROR com.iota.iri.network.Node - Invalid transaction hash 03/20 19:42:26.099 [pool-4-thread-6] ERROR com.iota.iri.network.Node - Received an Invalid TransactionViewModel. Dropping it... 03/20 19:42:26.100 [pool-4-thread-13] ERROR com.iota.iri.network.Node - Invalid transaction hash 03/20 19:42:26.100 [pool-4-thread-13] ERROR com.iota.iri.network.Node - Received an Invalid TransactionViewModel. Dropping it...