You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vault Maxi tries to reinvest the masternode block reward, but this is not possible because these token are not fungible directly after the block was minted. It takes up to 2h until these are fungible.
What should happen
Vault Maxis waits until the token is fungible to reinvest.
2022-10-14T21:15:14.714+02:00 INFO vault maxi v2.3.3
2022-10-14T21:15:14.714+02:00 INFO starting with 889984ms available
2022-10-14T21:15:15.634+02:00 INFO initial state: idle|none||2322427|v2.3.3
2022-10-14T21:15:15.634+02:00 INFO received event { xxx }
2022-10-14T21:15:15.634+02:00 INFO using ocean at https://ocean.defichain.com on mainnet
2022-10-14T21:15:16.854+02:00 ERROR (node:9) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
2022-10-14T21:15:18.956+02:00 INFO initialized at block 2322464 dusd CollValue is 1.200
2022-10-14T21:15:19.035+02:00 INFO starting at block 2322464
2022-10-14T21:15:19.417+02:00 INFO working with vault xxx state: ACTIVE current Ratio 156(155.88479203) collValue: 13692.18190003 loanValue: 8783.52642449
2022-10-14T21:15:19.417+02:00 INFO collaterals: | DFI: [email protected]>0.64808430 x 1 | BTC: [email protected]>19275.97152519 x 1
2022-10-14T21:15:19.417+02:00 INFO loans: | DUSD: 4456.53580342@1->1 | MSFT: [email protected]>229.43948142
2022-10-14T21:15:19.515+02:00 INFO DUSD currently has a total interest of -10.2400 = 5 + -15.24 vs APR of 23.4660
2022-10-14T21:15:19.516+02:00 INFO starting with 156 (next: 155) in vault, target 154 - 156 (155) pair MSFT-DUSD, minting both
2022-10-14T21:15:19.516+02:00 INFO doing consistency checks
2022-10-14T21:15:19.516+02:00 INFO calculated values: collValue: 13692.18190004 loanValue: 8783.52642469 ratio: 155.88479203
2022-10-14T21:15:19.516+02:00 INFO doing consistency checks
2022-10-14T21:15:19.517+02:00 INFO calculated values: collValue: 13692.18190004 loanValue: 8783.52642469 ratio: 155.88479203
2022-10-14T21:15:20.094+02:00 INFO checking for reinvest: 65.7827133 from UTXOs, 1.0313217 tokens. total 66.814035 vs 50
2022-10-14T21:15:20.094+02:00 INFO converting 65.7827133 UTXOs to token
2022-10-14T21:15:22.294+02:00 INFO Sending txId: next with input: prev:1
2022-10-14T21:15:22.394+02:00 INFO error sending tx (bad-txns-premature-spend-of-coinbase, tried to spend coinbase at depth 1 (code 16)). retrying after 10 seconds
2022-10-14T21:15:32.361+02:00 INFO error sending tx (bad-txns-premature-spend-of-coinbase, tried to spend coinbase at depth 1 (code 16)). retrying after 10 seconds
2022-10-14T21:15:42.355+02:00 INFO error sending tx (bad-txns-premature-spend-of-coinbase, tried to spend coinbase at depth 1 (code 16)). retrying after 10 seconds
2022-10-14T21:15:52.355+02:00 INFO error sending tx (bad-txns-premature-spend-of-coinbase, tried to spend coinbase at depth 1 (code 16)). retrying after 10 seconds
2022-10-14T21:16:02.394+02:00 INFO error sending tx (bad-txns-premature-spend-of-coinbase, tried to spend coinbase at depth 1 (code 16)). retrying after 10 seconds
2022-10-14T21:16:12.394+02:00 INFO failed to send tx even after after multiple retries (bad-txns-premature-spend-of-coinbase, tried to spend coinbase at depth 1 (code 16))
2022-10-14T21:16:12.394+02:00 ERROR Error in script
2022-10-14T21:16:12.434+02:00 ERROR WhaleApiException [Error]: 400 - BadRequest (/v0/mainnet/rawtx/send): bad-txns-premature-spend-of-coinbase, tried to spend coinbase at depth 1 (code 16)
at Object.raiseIfError (/var/task/index.js:1:243806)
at WhaleApiClient.<anonymous> (/var/task/index.js:1:247710)
at Generator.next (<anonymous>)
at fulfilled (/var/task/index.js:1:245314)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
error: {
code: 400,
type: 'BadRequest',
at: 1665774972361,
message: 'bad-txns-premature-spend-of-coinbase, tried to spend coinbase at depth 1 (code 16)',
url: '/v0/mainnet/rawtx/send'
}
}
The text was updated successfully, but these errors were encountered:
currently this can't be fixed, cause ocean is not providing the information if UTXOs are spendable or not.
(LW becomes also unusable if you forward your MN rewards there)
mrgrauel
changed the title
🐛 Masternode Rewards cannot be reinvest until these are fungible
🐛 Masternode Rewards cannot be reinvest until these are trusted
Oct 15, 2022
What did happen
Vault Maxi tries to reinvest the masternode block reward, but this is not possible because these token are not fungible directly after the block was minted. It takes up to 2h until these are fungible.
What should happen
Vault Maxis waits until the token is fungible to reinvest.
The text was updated successfully, but these errors were encountered: