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

258: txn-mempool-conflict #2093

Open
A2DNEW opened this issue May 1, 2024 · 6 comments
Open

258: txn-mempool-conflict #2093

A2DNEW opened this issue May 1, 2024 · 6 comments

Comments

@A2DNEW
Copy link

A2DNEW commented May 1, 2024

Hi
I use this code to send dogecoin:

('sendrawtransaction', [
      psbt.extractTransaction().toHex(),
      true,
    ]);

And i get this result:

6dcdfb42022c829eca72a61267b1bae8621bcc2922201ab347bef66675aa0aa3

but this TX not found on blockchain

I change my FEE and try to generate again, but i get error:

error: { code: -26, message: '258: txn-mempool-conflict' },

Note: I set fee 3000

@jasonandjay
Copy link
Collaborator

From error "txn-mempool-conflict" indicate your transaction has been broadcast

@jasonandjay
Copy link
Collaborator

By the way

  1. You can try to search you transaction with your address
  2. It seems this issue has no relation with bitcoinjs

@A2DNEW
Copy link
Author

A2DNEW commented May 2, 2024

From error "txn-mempool-conflict" indicate your transaction has been broadcast

But this txid not found in dogescan: Sorry, '6dcdfb42022c829eca72a61267b1bae8621bcc2922201ab347bef66675aa0aa3' is not a valid transaction or block hash for doge

@A2DNEW
Copy link
Author

A2DNEW commented May 2, 2024

By the way

  1. You can try to search you transaction with your address
  2. It seems this issue has no relation with bitcoinjs

how can i search by address?
because i don't see anything
and i can't create new transaction because i don't have the data

@jasonandjay
Copy link
Collaborator

From error "txn-mempool-conflict" indicate your transaction has been broadcast

But this txid not found in dogescan: Sorry, '6dcdfb42022c829eca72a61267b1bae8621bcc2922201ab347bef66675aa0aa3' is not a valid transaction or block hash for doge

bitcoinjs is designed for bitcoin and i am not familar with doge chain. So i don`t know txid generate is right or this libs suitable for doge chain.

@A2DNEW
Copy link
Author

A2DNEW commented May 2, 2024

From error "txn-mempool-conflict" indicate your transaction has been broadcast

But this txid not found in dogescan: Sorry, '6dcdfb42022c829eca72a61267b1bae8621bcc2922201ab347bef66675aa0aa3' is not a valid transaction or block hash for doge

bitcoinjs is designed for bitcoin and i am not familar with doge chain. So i don`t know txid generate is right or this libs suitable for doge chain.

but i use your recommend code:

const dogecoin = { // <-------- ADD THIS
messagePrefix: '\x19Dogecoin Signed Message:\n',
bech32: 'doge',
bip32: {
public: 0x02facafd,
private: 0x02fac398,
},
pubKeyHash: 0x1e,
scriptHash: 0x16,
wif: 0x9e,
}

at this: #1990 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants