Open qlpqlp opened 1 year ago
Don't know too much about it, but would it be useful to implement webhooks in addition to polling to release stuck txs?
Nice write up on it here: https://dev.to/koladev/building-a-robust-webhook-server-with-golang-a-comprehensive-guide-4oa0
G'day George, GigaWallet already has a webhooks system:
https://gigawallet.dogecoin.org/installation.html#configuring-callbacks
That is awesome! Good to know!
Sent from my iPhone
On Sep 12, 2023, at 12:33 AM, Timothy Stebbing @.***> wrote:
G'day George, GigaWallet already has a webhooks system:
https://gigawallet.dogecoin.org/installation.html#configuring-callbacks
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.
Is this something you’ve been able to reproduce and is what you provided above just a dump of the procedures that were running at the time?
Stuck transactions are bad. If stuck transactions lead to the application crashing that is worse. Would a transaction_trace
utility or something along those lines be helpful to debug and resolve these scenarios?
This error is an assertion failure in libdogecoin
when signing a transaction.
dogecoin_tx_sign_input: Assertion sigderlen <= 74 && sigderlen >= 70' failed.
Since libdogecoin
has no awareness of prior transactions, it cannot be related to a prior transaction being stuck (that part is coincidental.)
We will forward this assertion failure to the libdogecoin team, but it's unlikely they will be able to reproduce the behaviour without the data used in the signing attempt (however, there have been two libdogecoin releases since this report, so they may have fixed it already.)
Much thanks 😁💛
I'm getting a random crash on Gigawallet wen there is alredy a stuck payout and wen I try to send again another payout wen one transaction is still stuck:
gigawallet: src/tx.c:1126: dogecoin_tx_sign_input: Assertion
sigderlen <= 74 && sigderlen >= 70' failed. SIGABRT: abort PC=0x7fc09342a387 m=10 sigcode=18446744073709551610 signal arrived during cgo executiongoroutine 4548 [syscall]: runtime.cgocall(0x855290, 0xc000326458) /usr/lib/golang/src/runtime/cgocall.go:158 +0x5c fp=0xc000326430 sp=0xc0003263f8 pc=0x41a83c github.com/dogeorg/go-libdogecoin._Cfunc_sign_raw_transaction(0x0, 0xc0003e6000, 0x7fc0400021e0, 0x1, 0x7fc040002220) _cgo_gotypes.go:314 +0x4c fp=0xc000326458 sp=0xc000326430 pc=0x7b8a2c github.com/dogeorg/go-libdogecoin.W_sign_raw_transaction(0x0, {0xc00017a140, 0x140}, {0xc0000b80c0, 0x32}, 0x1, {0xc000344100, 0x34}) /root/go/pkg/mod/github.com/dogeorg/go-libdogecoin@v0.0.45/libdogecoin.go:206 +0x110 fp=0xc0003264c0 sp=0xc000326458 pc=0x7b9890 github.com/dogecoinfoundation/gigawallet/pkg/dogecoin.L1Libdogecoin.MakeTransaction({{0x0?, 0x7fc094320108?}}, {0xc0001287e0, 0x2, 0xc0002e00e0?}, {0xc0002ec660, 0x1, 0xc000326b58?}, {0xc0002c6000, 0xfffffff0}, ...) /gigawallet/pkg/dogecoin/libdogecoin.go:158 +0xec5 fp=0xc000326a50 sp=0xc0003264c0 pc=0x7bac65 github.com/dogecoinfoundation/gigawallet/pkg/dogecoin.(*L1Libdogecoin).MakeTransaction(0xc000326c48?, {0xc0001287e0?, 0x1241460?, 0xc000326cc0?}, {0xc0002ec660?, 0x7fc094320108?, 0xa01b04?}, {0xc0002c6000?, 0xe?}, {0xc0002a8420, ...}, ...)