ergoplatform / oracle-core

Core off-chain component of Oracle Pools
Apache License 2.0
62 stars 37 forks source link

Posting datapoint txs for 11, 12, 16 minutes without success #287

Closed greenhat closed 1 year ago

greenhat commented 1 year ago

There were three episodes in 4 hours period.

Log: 2023-06-13T20:11:01.472282885+00:00 DEBUG oracle_core::state - Height 517740. Live epoch state: LiveEpochState { pool_box_epoch_id: EpochCounter(11207), local_datapoint_box_state: Some(Collected { height: BlockHeight(517724) }), latest_pool _datapoint: Rate(50625326517969), latest_pool_box_height: BlockHeight(517724) } 2023-06-13T20:11:01.472334577+00:00 DEBUG oracle_core - Height 517740. Building action for command: PublishSubsequentDataPoint { republish: false } 2023-06-13T20:11:01.986055939+00:00 INFO oracle_core::actions - Datapoint tx published. Check status: https://testnet.ergoplatform.com/en/transactions/f451600e46291effa6a2185fb7b346954b57bf3b992d457d25703d5349ff32d4 2023-06-13T20:11:32.089761635+00:00 DEBUG oracle_core::state - Height 517741. Live epoch state: LiveEpochState { pool_box_epoch_id: EpochCounter(11207), local_datapoint_box_state: Some(Collected { height: BlockHeight(517724) }), latest_pool _datapoint: Rate(50625326517969), latest_pool_box_height: BlockHeight(517724) } 2023-06-13T20:11:32.089815884+00:00 DEBUG oracle_core - Height 517741. Building action for command: PublishSubsequentDataPoint { republish: false } 2023-06-13T20:11:32.488306197+00:00 INFO oracle_core::actions - Datapoint tx published. Check status: https://testnet.ergoplatform.com/en/transactions/14fd44fba747c39528082394e3f4abbd3d281351d82aaad9ab69183739b06834 2023-06-13T20:12:02.589973418+00:00 DEBUG oracle_core::state - Height 517741. Live epoch state: LiveEpochState { pool_box_epoch_id: EpochCounter(11207), local_datapoint_box_state: Some(Collected { height: BlockHeight(517724) }), latest_pool _datapoint: Rate(50625326517969), latest_pool_box_height: BlockHeight(517724) } 2023-06-13T20:12:02.590025240+00:00 DEBUG oracle_core - Height 517741. Building action for command: PublishSubsequentDataPoint { republish: false } 2023-06-13T20:12:03.245366362+00:00 DEBUG oracle_core::actions - Node rejected tx with error: Pool can not accept transaction 14fd44fba747c39528082394e3f4abbd3d281351d82aaad9ab69183739b06834, it is already in the mempool 2023-06-13T20:12:33.343785080+00:00 DEBUG oracle_core::state - Height 517741. Live epoch state: LiveEpochState { pool_box_epoch_id: EpochCounter(11207), local_datapoint_box_state: Some(Collected { height: BlockHeight(517724) }), latest_pool _datapoint: Rate(50625326517969), latest_pool_box_height: BlockHeight(517724) } 2023-06-13T20:12:33.343841428+00:00 DEBUG oracle_core - Height 517741. Building action for command: PublishSubsequentDataPoint { republish: false } 2023-06-13T20:12:33.835631441+00:00 DEBUG oracle_core::actions - Node rejected tx with error: Double spending attempt 2023-06-13T20:13:03.945954999+00:00 DEBUG oracle_core::state - Height 517741. Live epoch state: LiveEpochState { pool_box_epoch_id: EpochCounter(11207), local_datapoint_box_state: Some(Collected { height: BlockHeight(517724) }), latest_pool _datapoint: Rate(50625326517969), latest_pool_box_height: BlockHeight(517724) } 2023-06-13T20:13:03.946025516+00:00 DEBUG oracle_core - Height 517741. Building action for command: PublishSubsequentDataPoint { republish: false } 2023-06-13T20:13:04.409185362+00:00 DEBUG oracle_core::actions - Node rejected tx with error: Double spending attempt 2023-06-13T20:13:34.506553348+00:00 DEBUG oracle_core::state - Height 517742. Live epoch state: LiveEpochState { pool_box_epoch_id: EpochCounter(11207), local_datapoint_box_state: Some(Collected { height: BlockHeight(517724) }), latest_pool _datapoint: Rate(50625326517969), latest_pool_box_height: BlockHeight(517724) } 2023-06-13T20:13:34.506607661+00:00 DEBUG oracle_core - Height 517742. Building action for command: PublishSubsequentDataPoint { republish: false } 2023-06-13T20:13:34.901837698+00:00 DEBUG oracle_core::actions - Node rejected tx with error: Double spending attempt 2023-06-13T20:14:04.998176982+00:00 DEBUG oracle_core::state - Height 517742. Live epoch state: LiveEpochState { pool_box_epoch_id: EpochCounter(11207), local_datapoint_box_state: Some(Collected { height: BlockHeight(517724) }), latest_pool _datapoint: Rate(50625326517969), latest_pool_box_height: BlockHeight(517724) } 2023-06-13T20:14:04.998232081+00:00 DEBUG oracle_core - Height 517742. Building action for command: PublishSubsequentDataPoint { republish: false } 2023-06-13T20:14:05.623882722+00:00 DEBUG oracle_core::actions - Node rejected tx with error: Double spending attempt 2023-06-13T20:14:35.719892360+00:00 DEBUG oracle_core::state - Height 517742. Live epoch state: LiveEpochState { pool_box_epoch_id: EpochCounter(11207), local_datapoint_box_state: Some(Collected { height: BlockHeight(517724) }), latest_pool _datapoint: Rate(50625326517969), latest_pool_box_height: BlockHeight(517724) } 2023-06-13T20:14:35.719946266+00:00 DEBUG oracle_core - Height 517742. Building action for command: PublishSubsequentDataPoint { republish: false } 2023-06-13T20:14:35.980341909+00:00 DEBUG oracle_core::actions - Node rejected tx with error: Double spending attempt 2023-06-13T20:15:06.076678116+00:00 DEBUG oracle_core::state - Height 517744. Live epoch state: LiveEpochState { pool_box_epoch_id: EpochCounter(11207), local_datapoint_box_state: Some(Collected { height: BlockHeight(517724) }), latest_pool _datapoint: Rate(50625326517969), latest_pool_box_height: BlockHeight(517724) } 2023-06-13T20:15:06.076738301+00:00 DEBUG oracle_core - Height 517744. Building action for command: PublishSubsequentDataPoint { republish: false } 2023-06-13T20:15:06.610522443+00:00 DEBUG oracle_core::actions - Node rejected tx with error: Double spending attempt 2023-06-13T20:15:36.706588118+00:00 DEBUG oracle_core::state - Height 517745. Live epoch state: LiveEpochState { pool_box_epoch_id: EpochCounter(11207), local_datapoint_box_state: Some(Collected { height: BlockHeight(517724) }), latest_pool _datapoint: Rate(50625326517969), latest_pool_box_height: BlockHeight(517724) } 2023-06-13T20:15:36.706648507+00:00 DEBUG oracle_core - Height 517745. Building action for command: PublishSubsequentDataPoint { republish: false } 2023-06-13T20:15:36.986887833+00:00 DEBUG oracle_core::actions - Node rejected tx with error: Double spending attempt 2023-06-13T20:16:07.083354149+00:00 DEBUG oracle_core::state - Height 517747. Live epoch state: LiveEpochState { pool_box_epoch_id: EpochCounter(11207), local_datapoint_box_state: Some(Collected { height: BlockHeight(517724) }), latest_pool _datapoint: Rate(50625326517969), latest_pool_box_height: BlockHeight(517724) } 2023-06-13T20:16:07.083413579+00:00 DEBUG oracle_core - Height 517747. Building action for command: PublishSubsequentDataPoint { republish: false } 2023-06-13T20:16:07.418653697+00:00 DEBUG oracle_core::actions - Node rejected tx with error: Double spending attempt 2023-06-13T20:16:37.514734292+00:00 DEBUG oracle_core::state - Height 517748. Live epoch state: LiveEpochState { pool_box_epoch_id: EpochCounter(11207), local_datapoint_box_state: Some(Collected { height: BlockHeight(517724) }), latest_pool _datapoint: Rate(50625326517969), latest_pool_box_height: BlockHeight(517724) } 2023-06-13T20:16:37.514794558+00:00 DEBUG oracle_core - Height 517748. Building action for command: PublishSubsequentDataPoint { republish: false } 2023-06-13T20:16:37.785568119+00:00 DEBUG oracle_core::actions - Node rejected tx with error: Double spending attempt 2023-06-13T20:17:07.882002705+00:00 DEBUG oracle_core::state - Height 517750. Live epoch state: LiveEpochState { pool_box_epoch_id: EpochCounter(11207), local_datapoint_box_state: Some(Collected { height: BlockHeight(517724) }), latest_pool _datapoint: Rate(50625326517969), latest_pool_box_height: BlockHeight(517724) } 2023-06-13T20:17:07.882060713+00:00 DEBUG oracle_core - Height 517750. Building action for command: PublishSubsequentDataPoint { republish: false } 2023-06-13T20:17:08.242974319+00:00 DEBUG oracle_core::actions - Node rejected tx with error: Double spending attempt

Log: 2023-06-13T20:11:01.472282885+00:00 DEBUG oracle_core::state - Height 517740. Live epoch state: LiveEpochState { pool_box_epoch_id: EpochCounter(11207), local_datapoint_box_state: Some(Collected { height: BlockHeight(517724) }), latest_pool _datapoint: Rate(50625326517969), latest_pool_box_height: BlockHeight(517724) } 2023-06-13T20:11:01.472334577+00:00 DEBUG oracle_core - Height 517740. Building action for command: PublishSubsequentDataPoint { republish: false } 2023-06-13T20:11:01.986055939+00:00 INFO oracle_core::actions - Datapoint tx published. Check status: https://testnet.ergoplatform.com/en/transactions/f451600e46291effa6a2185fb7b346954b57bf3b992d457d25703d5349ff32d4 2023-06-13T20:11:32.089761635+00:00 DEBUG oracle_core::state - Height 517741. Live epoch state: LiveEpochState { pool_box_epoch_id: EpochCounter(11207), local_datapoint_box_state: Some(Collected { height: BlockHeight(517724) }), latest_pool _datapoint: Rate(50625326517969), latest_pool_box_height: BlockHeight(517724) } 2023-06-13T20:11:32.089815884+00:00 DEBUG oracle_core - Height 517741. Building action for command: PublishSubsequentDataPoint { republish: false } 2023-06-13T20:11:32.488306197+00:00 INFO oracle_core::actions - Datapoint tx published. Check status: https://testnet.ergoplatform.com/en/transactions/14fd44fba747c39528082394e3f4abbd3d281351d82aaad9ab69183739b06834 2023-06-13T20:12:02.589973418+00:00 DEBUG oracle_core::state - Height 517741. Live epoch state: LiveEpochState { pool_box_epoch_id: EpochCounter(11207), local_datapoint_box_state: Some(Collected { height: BlockHeight(517724) }), latest_pool _datapoint: Rate(50625326517969), latest_pool_box_height: BlockHeight(517724) } 2023-06-13T20:12:02.590025240+00:00 DEBUG oracle_core - Height 517741. Building action for command: PublishSubsequentDataPoint { republish: false } 2023-06-13T20:12:03.245366362+00:00 DEBUG oracle_core::actions - Node rejected tx with error: Pool can not accept transaction 14fd44fba747c39528082394e3f4abbd3d281351d82aaad9ab69183739b06834, it is already in the mempool 2023-06-13T20:12:33.343785080+00:00 DEBUG oracle_core::state - Height 517741. Live epoch state: LiveEpochState { pool_box_epoch_id: EpochCounter(11207), local_datapoint_box_state: Some(Collected { height: BlockHeight(517724) }), latest_pool _datapoint: Rate(50625326517969), latest_pool_box_height: BlockHeight(517724) } 2023-06-13T20:12:33.343841428+00:00 DEBUG oracle_core - Height 517741. Building action for command: PublishSubsequentDataPoint { republish: false } 2023-06-13T20:12:33.835631441+00:00 DEBUG oracle_core::actions - Node rejected tx with error: Double spending attempt 2023-06-13T20:13:03.945954999+00:00 DEBUG oracle_core::state - Height 517741. Live epoch state: LiveEpochState { pool_box_epoch_id: EpochCounter(11207), local_datapoint_box_state: Some(Collected { height: BlockHeight(517724) }), latest_pool _datapoint: Rate(50625326517969), latest_pool_box_height: BlockHeight(517724) } 2023-06-13T20:13:03.946025516+00:00 DEBUG oracle_core - Height 517741. Building action for command: PublishSubsequentDataPoint { republish: false } 2023-06-13T20:13:04.409185362+00:00 DEBUG oracle_core::actions - Node rejected tx with error: Double spending attempt 2023-06-13T20:13:34.506553348+00:00 DEBUG oracle_core::state - Height 517742. Live epoch state: LiveEpochState { pool_box_epoch_id: EpochCounter(11207), local_datapoint_box_state: Some(Collected { height: BlockHeight(517724) }), latest_pool _datapoint: Rate(50625326517969), latest_pool_box_height: BlockHeight(517724) } 2023-06-13T20:13:34.506607661+00:00 DEBUG oracle_core - Height 517742. Building action for command: PublishSubsequentDataPoint { republish: false } 2023-06-13T20:13:34.901837698+00:00 DEBUG oracle_core::actions - Node rejected tx with error: Double spending attempt 2023-06-13T20:14:04.998176982+00:00 DEBUG oracle_core::state - Height 517742. Live epoch state: LiveEpochState { pool_box_epoch_id: EpochCounter(11207), local_datapoint_box_state: Some(Collected { height: BlockHeight(517724) }), latest_pool _datapoint: Rate(50625326517969), latest_pool_box_height: BlockHeight(517724) } 2023-06-13T20:14:04.998232081+00:00 DEBUG oracle_core - Height 517742. Building action for command: PublishSubsequentDataPoint { republish: false } 2023-06-13T20:14:05.623882722+00:00 DEBUG oracle_core::actions - Node rejected tx with error: Double spending attempt 2023-06-13T20:14:35.719892360+00:00 DEBUG oracle_core::state - Height 517742. Live epoch state: LiveEpochState { pool_box_epoch_id: EpochCounter(11207), local_datapoint_box_state: Some(Collected { height: BlockHeight(517724) }), latest_pool _datapoint: Rate(50625326517969), latest_pool_box_height: BlockHeight(517724) } 2023-06-13T20:14:35.719946266+00:00 DEBUG oracle_core - Height 517742. Building action for command: PublishSubsequentDataPoint { republish: false } 2023-06-13T20:14:35.980341909+00:00 DEBUG oracle_core::actions - Node rejected tx with error: Double spending attempt 2023-06-13T20:15:06.076678116+00:00 DEBUG oracle_core::state - Height 517744. Live epoch state: LiveEpochState { pool_box_epoch_id: EpochCounter(11207), local_datapoint_box_state: Some(Collected { height: BlockHeight(517724) }), latest_pool _datapoint: Rate(50625326517969), latest_pool_box_height: BlockHeight(517724) } 2023-06-13T20:15:06.076738301+00:00 DEBUG oracle_core - Height 517744. Building action for command: PublishSubsequentDataPoint { republish: false } 2023-06-13T20:15:06.610522443+00:00 DEBUG oracle_core::actions - Node rejected tx with error: Double spending attempt 2023-06-13T20:15:36.706588118+00:00 DEBUG oracle_core::state - Height 517745. Live epoch state: LiveEpochState { pool_box_epoch_id: EpochCounter(11207), local_datapoint_box_state: Some(Collected { height: BlockHeight(517724) }), latest_pool _datapoint: Rate(50625326517969), latest_pool_box_height: BlockHeight(517724) } 2023-06-13T20:15:36.706648507+00:00 DEBUG oracle_core - Height 517745. Building action for command: PublishSubsequentDataPoint { republish: false } 2023-06-13T20:15:36.986887833+00:00 DEBUG oracle_core::actions - Node rejected tx with error: Double spending attempt 2023-06-13T20:16:07.083354149+00:00 DEBUG oracle_core::state - Height 517747. Live epoch state: LiveEpochState { pool_box_epoch_id: EpochCounter(11207), local_datapoint_box_state: Some(Collected { height: BlockHeight(517724) }), latest_pool _datapoint: Rate(50625326517969), latest_pool_box_height: BlockHeight(517724) } 2023-06-13T20:16:07.083413579+00:00 DEBUG oracle_core - Height 517747. Building action for command: PublishSubsequentDataPoint { republish: false } 2023-06-13T20:16:07.418653697+00:00 DEBUG oracle_core::actions - Node rejected tx with error: Double spending attempt 2023-06-13T20:16:37.514734292+00:00 DEBUG oracle_core::state - Height 517748. Live epoch state: LiveEpochState { pool_box_epoch_id: EpochCounter(11207), local_datapoint_box_state: Some(Collected { height: BlockHeight(517724) }), latest_pool _datapoint: Rate(50625326517969), latest_pool_box_height: BlockHeight(517724) } 2023-06-13T20:16:37.514794558+00:00 DEBUG oracle_core - Height 517748. Building action for command: PublishSubsequentDataPoint { republish: false } 2023-06-13T20:16:37.785568119+00:00 DEBUG oracle_core::actions - Node rejected tx with error: Double spending attempt 2023-06-13T20:17:07.882002705+00:00 DEBUG oracle_core::state - Height 517750. Live epoch state: LiveEpochState { pool_box_epoch_id: EpochCounter(11207), local_datapoint_box_state: Some(Collected { height: BlockHeight(517724) }), latest_pool _datapoint: Rate(50625326517969), latest_pool_box_height: BlockHeight(517724) } 2023-06-13T20:17:07.882060713+00:00 DEBUG oracle_core - Height 517750. Building action for command: PublishSubsequentDataPoint { republish: false } 2023-06-13T20:17:08.242974319+00:00 DEBUG oracle_core::actions - Node rejected tx with error: Double spending attempt

greenhat commented 1 year ago

The reason was another oracle, from another oracle pool, that I was running on the same node. So occasionally both were fighting for spending the same box with available Ergs in the wallet.