Author

Topic: TXN -mempool-conflict (Read 330 times)

HCP
legendary
Activity: 2086
Merit: 4363
July 16, 2018, 09:25:26 PM
#35
To be honest, I load it maybe once a month or so... Just to let it sync up. I tend to use my other wallets more.
newbie
Activity: 27
Merit: 0
July 16, 2018, 06:47:33 AM
#34
Hi, i deleted the mempool.dat with bitcoin and armory not running(i think it was running when i tried doing it in an earlier thread) and when i loaded armory up the btc had been transferred to my intended destination...many thanks for all your help. I only really use btc about 4-6 times a year now, i used to use it more often and had no problems, seems i get trouble with it quite a lot recently, how often would you suggest i fire up Armory to keep it more reliable?
HCP
legendary
Activity: 2086
Merit: 4363
July 16, 2018, 03:48:47 AM
#33
Wherever your Bitcoin Core data directory is... refer: https://en.bitcoin.it/wiki/Data_directory

You should find a file called "mempool.dat". Before you delete it, you need to make sure that Bitcoin Core (and/or bitcoind) are NOT running.
newbie
Activity: 27
Merit: 0
July 16, 2018, 03:31:18 AM
#32
Hi, thanks for the quick response, i have not deleted anything in the bitcoincore program, only in armory, could you give me the correct path i will need to do this please?
HCP
legendary
Activity: 2086
Merit: 4363
July 16, 2018, 03:03:03 AM
#31
Ok... looking at your logs, the problem seems to be Bitcoin Core not wanting to send your transaction:

Quote
2018-07-16 06:52:01 (INFO) -- ArmoryQt.py:3124 - Sending Tx, 78d9a40cb2d0ca159801807134607d8461993c6225f5278c5aed34b8341edc45
2018-07-16 06:52:01 (INFO) -- ArmoryQt.py:3138 - Failed to broadcast Tx through P2P
2018-07-16 06:52:01 (ERROR) -- ArmoryQt.py:3159 - Transaction was not accepted by the Satoshi client

Then, you get the TXN-mempool-conflict error:
Quote
2018-07-16 06:52:01 (ERROR) -- ArmoryQt.py:3164 - Failure message: txn-mempool-conflict
Given the timestamps... I think it's part of the same error.


Anyway... I was able to simply broadcast the transaction and it has now confirmed: https://www.blockchain.com/en/btc/tx/45dc1e34b834ed5a8c27f525623c9961847d60347180019815cad0b20ca4d978

Given that the transaction was able to be broadcast, then this points to your Bitcoin Core having a conflicting transaction in it's local mempool for some reason... but you said you'd deleted that??!? Huh
newbie
Activity: 27
Merit: 0
July 16, 2018, 02:41:19 AM
#30
Hi, just to give you as much info as i can....i have also been clearing any unconfirmed and been generous with the fee, still get the 18.TXN mempool conflict error message
newbie
Activity: 27
Merit: 0
July 16, 2018, 01:20:20 AM
#29
Hi, don't know if this is relevant, but i just fired up bitcoincore on it's own and the balance says 0.00, my btc's are showing up in my armory account? Just mentioning this as i was told in an earlier post that i could send a 'raw transaction?' via bitcoincore, but i guess that won't be possible if I have nothing in my bitcoincore wallet?
newbie
Activity: 27
Merit: 0
July 16, 2018, 01:12:19 AM
#28
Hi, i think i followed your instructions correctly and Armory seems back to normal, thankyou. Tried to send btc but got the 'TXN-mempool-conflict' error message again and it won't send? Here is the log https://pastebin.com/hkq08gVj
legendary
Activity: 3794
Merit: 1375
Armory Developer
July 15, 2018, 01:13:10 PM
#27
1) Delete the content of this folder: C:\Users\Luke\AppData\Roaming\Armory\databases

2) Start BitcoinQt, leave it running

3) Delete your logs (armorylog.txt and dbLog.txt)

4) From the command line, browse to your Armory install folder (C:\Program Files (x86)\Armory\) and run "ArmoryDB.exe"

5) Start ArmoryQt the usual way, let it catch up, report here. If it fails, post the fresh logs.
newbie
Activity: 27
Merit: 0
July 15, 2018, 10:26:59 AM
#26
Hi, core has caught up and my wallet balance is 0.00 and there are no records of any transactions in the past? I opened Armory and it won't load the GUI, it just has a load-up box which says 'Loading 100%', it does not go to updating blocks or anything, just stays on that loading-up box?
legendary
Activity: 3794
Merit: 1375
Armory Developer
July 15, 2018, 07:54:19 AM
#25
Wait till Core catches up, then start Armory.
newbie
Activity: 27
Merit: 0
July 15, 2018, 05:35:26 AM
#24
Hi, got bitcoincore GUI up, it says it is 3 days behind. Progress is at 99.71% and it is progressing at 0.03% per hour, i have 2 nodes active...is this normal? My wallet is saying that there is 0.00 btc in there, is this right?
legendary
Activity: 3794
Merit: 1375
Armory Developer
July 15, 2018, 03:56:18 AM
#23
Start BitcoinQt, does it load properly?
newbie
Activity: 27
Merit: 0
July 15, 2018, 03:04:10 AM
#22
Hi, you probaly won't believe this....how do i open the bitcoincore GUI? I click on bitcoincore to load it up and it just stays on the done loading screen? Can't seem to open bitcoincore so that i can send the raw transaction?
HCP
legendary
Activity: 2086
Merit: 4363
July 15, 2018, 12:26:41 AM
#21
Hi, just loaded up bitcoincore and can't find the send raw data command, how do i execute it (also, should i be using the 32 or 64 bit version?
Help -> Debug Window -> Console

The command format is:
Code:
sendrawtransaction RAW_TRANSACTION_HEX

It doesn't really matter if you use 32bit or 64bit... that's more of an Operating System thing (if you're using 64bit windows, you should use 64bit Bitcoin Core).


Hi,i see you highlighted my fee, is that way too much? Any ideas how much i am giving them, this all baffles me, and can i bring the fee down before i send this if it is too high?
Also to clarify, i can copy and paste that raw transaction at the top of your last post and send it directly from bitcoincore?
You can probably bring the fee down quite a bit... 70000 sats is quite a bit, ~USD$4... your transaction is only 224 bytes, so with the current network state, any more than 500 sats is probably unnecessary.

To change it, you'd need to redo the transaction in Armory and set a lower fee...
newbie
Activity: 27
Merit: 0
July 14, 2018, 10:20:04 PM
#20
Hi, just loaded up bitcoincore and can't find the send raw data command, how do i execute it (also, should i be using the 32 or 64 bit version?
newbie
Activity: 27
Merit: 0
July 14, 2018, 10:10:10 PM
#19
Hi,i see you highlighted my fee, is that way too much? Any ideas how much i am giving them, this all baffles me, and can i bring the fee down before i send this if it is too high?

Also to clarify, i can copy and paste that raw transaction at the top of your last post and send it directly from bitcoincore?

HCP
legendary
Activity: 2086
Merit: 4363
July 14, 2018, 09:57:42 PM
#18
Ok, so your "raw" transaction is this:
Code:
0100000001bab68eb6c47543c8fc09e9440f4398bf67e4105e48c578feb0956e3454151722000000008b483045022100aa7228ded24c8344b016836aeba57e57f1ca7d3e08da47f30c1f5805fc5a38730220123b3f04cfb570f358ac2140aefdbc685535425e57eba83b6265d4f47a14253f0141043740f7db5616626e52a5df8b54ce4a66dcca603db54f861aeec42d3270f01c9da1c4b5787fd19ffe613c98b71cea552a4355b97006d96354111de9046b484705fdffffff017312a000000000001976a914d70286a0b68da0df83b7dbd86d02b0d90e93a76688ac241c0800
That will decode to this:

Quote
{
    "addresses": [
        "17m2JVuSzyzFafWiiecJjGAW52HzRUCrk1",
        "1LbsJkEfAwr2od324NLvDTFPqo7uATfuv3"
    ],
    "block_height": -1,
    "block_index": -1,
    "confirmations": 0,
    "double_spend": false,
    "fees": 70000,
    "hash": "967f8dce8ff6cd0cba70fee2843c4ddeb9e4ab193f66551606dd855ee983fc5c",
    "inputs": [
        {
            "addresses": [
                "17m2JVuSzyzFafWiiecJjGAW52HzRUCrk1"
            ],
            "age": 530694,
            "output_index": 0,
            "output_value": 10560483,
            "prev_hash": "22171554346e95b0fe78c5485e10e467bf98430f44e909fcc84375c4b68eb6ba",
            "script": "483045022100aa7228ded24c8344b016836aeba57e57f1ca7d3e08da47f30c1f5805fc5a3873022 0123b3f04cfb570f358ac2140aefdbc685535425e57eba83b6265d4f47a14253f0141043740f7db 5616626e52a5df8b54ce4a66dcca603db54f861aeec42d3270f01c9da1c4b5787fd19ffe613c98b 71cea552a4355b97006d96354111de9046b484705",
            "script_type": "pay-to-pubkey-hash",
            "sequence": 4294967293
        }
    ],
    "lock_time": 531492,
    "opt_in_rbf": true,
    "outputs": [
        {
            "addresses": [
                "1LbsJkEfAwr2od324NLvDTFPqo7uATfuv3"
            ],
            "script": "76a914d70286a0b68da0df83b7dbd86d02b0d90e93a76688ac",
            "script_type": "pay-to-pubkey-hash",
            "value": 10490483
        }
    ],
    "preference": "high",
    "received": "2018-07-15T02:53:17.037085381Z",
    "relayed_by": "54.198.32.59",
    "size": 224,
    "total": 10490483,
    "ver": 1,
    "vin_sz": 1,
    "vout_sz": 1
}

If you are happy with all of that data (ie. sending 10490483 satoshis or 0.10490483 from 17m2JVuSzyzFafWiiecJjGAW52HzRUCrk1 to 1LbsJkEfAwr2od324NLvDTFPqo7uATfuv3 with a 70000 sat fee!!?! Shocked)...

I'd suggest confirming it all yourself using: https://live.blockcypher.com/btc/decodetx/ or https://coinb.in/#verify, you can then "push" that transaction to the network (using https://live.blockcypher.com/btc/pushtx/ or https://coinb.in/#broadcast)... or use the sendrawtransaction command with Bitcoin Core to send that raw data.


NOTE: this won't solve your issues with Armory/Bitcoin Core... but it will get your BTC sent if that is an urgent requirement.
newbie
Activity: 27
Merit: 0
July 14, 2018, 09:16:53 PM
#17
Hi, i don't know how to broadcast raw transanction, armory won't load up online. I run bitcoincore in the background of armory, but have loaded bitcoincore up without armory being loaded a few times. Sorry, for not being much help
HCP
legendary
Activity: 2086
Merit: 4363
July 14, 2018, 08:39:59 PM
#16
No, the ones in my post work fine... Wink (although you can "edit" your previous post and just add a space between each link (ie. just before the http: part Wink

As for the issue, there seems to be some issue with your "satoshi client" (ie. Bitcoin Core) broadcasting your transaction. Then, when you attempt to send again, you get the txn-mempool-conflict error as the transaction is already in your "local" mempool.

You might want to try broadcasting the raw transaction manually, and see what the error message displayed it... it might give you a better idea of what the issue is. Are you running Bitcoin Core GUI or are you just letting Armory run bitcond?
newbie
Activity: 27
Merit: 0
July 14, 2018, 07:21:55 PM
#15
Sorry again, i'm proper useless, do i need to resend the links?
HCP
legendary
Activity: 2086
Merit: 4363
July 14, 2018, 07:18:54 PM
#14
Quick edit to make it easier for others:
Next time, make sure you put a space between the links Wink
newbie
Activity: 27
Merit: 0
legendary
Activity: 3794
Merit: 1375
Armory Developer
July 14, 2018, 04:11:33 PM
#12
Post the links here, how else am I supposed to look at the logs?
newbie
Activity: 27
Merit: 0
July 14, 2018, 03:58:44 PM
#11
Hi, i've pasted log in pieces on pastebin, username is centrepoint, is there anything else i need to do?
legendary
Activity: 3794
Merit: 1375
Armory Developer
July 14, 2018, 11:28:46 AM
#10
Paste in the lower half, or break it into smaller instances.
newbie
Activity: 27
Merit: 0
July 14, 2018, 09:39:07 AM
#9
Hi, thankyou for your patience. I have just joined pastebin, never used it before, copied the logfile fom armory offline but it is saying the file is too big and it won't let me send it?
legendary
Activity: 3794
Merit: 1375
Armory Developer
July 14, 2018, 08:17:24 AM
#8
Quote
Will un-installing both armory and bitcoincore, then re-installing be an easier option?

Not really, need the logs to see what's wrong.

Quote
Both logs

armorylog.txt and dbLog.txt

Quote
Armory datadir

Depends on your operating system. Assuming Windows, the default location is

Code:
C:\Users\*yourusername*\AppData\Roaming\Armory

You have to show hidden folders to reveal AppData.

You can also start Armory in offline mode to extract logs through the menu option.

Once you got the logs, post them on pastebin. If you get the logs from the GUI, you'll only get one file, as it merges the 2 logs into a single one.
newbie
Activity: 27
Merit: 0
July 14, 2018, 06:55:57 AM
#7
Hi, sorry, i'm quite a novice, i need some more specific advice please? Both logs, not sure what you mean? Armory datadir., not sure where or what it is and how to find it? Not sure what i need to do when i find these logs? Will un-installing both armory and bitcoincore, then re-installing be an easier option? Sorry to be a pain.
legendary
Activity: 3794
Merit: 1375
Armory Developer
July 13, 2018, 03:12:18 PM
#6
You can find both log files in your Armory datadir.
newbie
Activity: 27
Merit: 0
July 13, 2018, 09:34:41 AM
#5
Hi, ok, guess i messed up there. Bearing in mind i can't get armory to load up so i can't get a logfile, what would you suggest i do please?
legendary
Activity: 3794
Merit: 1375
Armory Developer
July 13, 2018, 03:31:57 AM
#4
I searched my pc for mempool.dat, found it, deleted it and now armory will not load up, it gets to 100% but doesn't actually open up the program?

The two are unrelated. You shouldn't go around nuking your db without presenting logs first.
newbie
Activity: 27
Merit: 0
July 12, 2018, 01:18:13 PM
#3
Hi, thanks for the reply, but i seem to have made things worse?

I searched my pc for mempool.dat, found it, deleted it and now armory will not load up, it gets to 100% but doesn't actually open up the program?

I have tried re-installing armory and bitcoin and also restored the mempool.dat file, but armory will still not load?

Will un-installing everything and starting again help, this is doing my head in, once again it looks like i'm going to be losing money as the bitcoin price has come down quite a bit since i purchased it last week!
legendary
Activity: 3794
Merit: 1375
Armory Developer
July 11, 2018, 03:48:28 PM
#2
You need to clear the mempool for your node. Delete mempool.dat in your Bitcoin datadir.
newbie
Activity: 27
Merit: 0
July 11, 2018, 01:42:51 PM
#1
Hi, tryingto send some bitcoin from my armory account and keep getting a 'TXN-mempool-conflict' message when i try and send.  I am sending over the suggested fee and i am using the up to date versions of armory and bitcoincore, i have re-scanned and re-built database's after updating the programs and cleared unconfirmed? Can anybody help please, cheers.
Jump to: