Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Trying to send PEP fails to broadcast #2

Closed
Heclalava opened this issue Oct 26, 2024 · 5 comments
Closed

[BUG]: Trying to send PEP fails to broadcast #2

Heclalava opened this issue Oct 26, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@Heclalava
Copy link

Describe the bug
Trying to send PEP from Linux AppImage to exchange

To Reproduce
Steps to reproduce the behavior:

  1. Click Send
  2. Fill out recipient details
  3. Click proceed
  4. Pop up with failed to broacast and long error code pops up

Expected behavior
Wallet completes the send transaction

Operating Environment(s):

  • OS: Linuc Mint
  • OS version: 22
  • Komodo Wallet Desktop Version: AppImage 0.8.0
  • Build branch:

image

Additional context

  • Error produced:

error.txt

@Heclalava Heclalava added the bug Something isn't working label Oct 26, 2024
@Heclalava
Copy link
Author

Seems like it tried to broadcast to a bad Electrum server, should it not fallback to another good server in this situation? i.e. so round robin through the Electrum servers list until the broadcast is successful?

@Heclalava
Copy link
Author

Ok so it wasn't an issue with the Electrum servers but because the transaction was over 100kb in size.

I managed to resolve the issue by using coin control features in the Pepecoin core wallet linked to in this feature request

KomodoPlatform/komodo-wallet#2487

I was able to consolidate all the utxo inputs into one input using this feature.

@cipig
Copy link
Member

cipig commented Oct 26, 2024

the size of a tx is limited by various factors... the number of inputs is limited by coin daemon... the size is also limited, eg by electrumx itself... in electrumx you can change the setting by setting MAX_SEND, see https://electrumx-spesmilo.readthedocs.io/en/latest/environment.html#envvar-MAX_SEND ... i use MAX_SEND = 2000000, default is 1M

but i would recommend to not produce millions of tiny UTXOs in the first place, eg by changing min_payout of the pool... no need to produce 100 payouts per pay, one payout per day is enough

@cipig
Copy link
Member

cipig commented Oct 26, 2024

it's also possible to consolidate those UTXOs automatically... i use this for KMD \"utxo_merge_params\":{\"merge_at\":200,\"check_every\":600,\"max_merge_at_once\":100}... checks every 10 minutes if number of UTXOs is > 200 and if it's the case it merges 100 of them into 1... just need to be added to the GUIs... there was an issue about that, but they were all closed... only the one in coins repo is left: KomodoPlatform/coins#705

@smk762
Copy link
Contributor

smk762 commented Oct 28, 2024

Closing as cause of issue identified and problem solved.

@smk762 smk762 closed this as completed Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants