Bitcoin Forum
July 01, 2024, 08:38:15 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 [190] 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 ... 311 »
3781  Bitcoin / Electrum / Re: Electrum Lightning Network walkthrough on: August 07, 2020, 03:13:27 AM
Seems like "history" is just a descriptive log.  I just removed the entry from History but that didn't seem to make any difference and funds are still locked.
Like I've said above (Post #50), the lightning funds below must be a "bug" and there's no on-chain funds deducted.
And upon deleting the local transaction in the history, your non-spendable UTXO(s) should be available again.

I have tried to tinker the wallet file (testnet), I've found out that you can manually remove those bugged channels by removing the "channel backup" entry in the wallet file.
But that's quite dangerous if you don't know what you're doing so, restoring the seed should be enough if there no active channels in your wallet.

Here's the the important part (quoting myself):
I tried to reproduce it trice and the "bugged LN funds" reached 0.06 tBTC while my original onchain funds is only 0.02 tBTC and it wasn't spent.
3782  Bitcoin / Electrum / Re: Electrum Lightning Network walkthrough on: August 07, 2020, 02:43:41 AM
There's an "Open channel" entry in History. However, the transaction ID doesn't show up in the blockchain after trying to explore it. (  I abandoned the attempt to open channel with the merchant and I did not sign the transaction).

How could I retrieve my locked funds? It's been forever in locked state.
If it's not showing in the blockchain, then perhaps it's saved as a "local transaction"
since the server where you're connected to won't see it in its database nor mempool, it will change into "local" from unconfirmed/others.

The funds should be restored by removing the local transaction from the history (right-click->remove) or read the next sentence.
For the channel (or funds), I still haven't found a way to remove those "bugged channels" that I've created in testnet
but if there's no other active channels in your wallet, you can just create another wallet by restoring your wallet's seed phrase.
3783  Bitcoin / Bitcoin Technical Support / Re: [Aug 2020] Fees are low, use this opportunity to Consolidate your small inputs! on: August 06, 2020, 07:58:19 AM
"raw" bytes is always bigger than or equal to "virtual bytes".
Yes, that's why you have to set higher than 10sat/vB if your transaction has Witness data to reach viBTC's requirement of 10sat/B.

Come to think of it, for example (based from an existing SegWit transaction):
If your SegWit transaction has a feerate of 10sat/vB and a virtual size of 166vB, you're paying 1,660satoshi.
If based from the RAW bytes like Viabtc is doing, which is roughly 247B the fee rate would be 6.7sat/B (1,660/247).

I have tried to send SegWit 10sat/B tx to viabtc before and they always result with "not enough fee" error.
3784  Bitcoin / Bitcoin Technical Support / Re: [Aug 2020] Fees are low, use this opportunity to Consolidate your small inputs! on: August 06, 2020, 07:07:07 AM
I don't know, and sorry I have mistaken for a digit it was 215%... was over exaggerated with that other 40% 😂
anyways here's the screenshot of it, maybe it was for a high prio?
https://i.ibb.co/WcLckwL/20200806-145604.jpg
The OP best explains what's happening in that transaction  Wink

The "priority transaction fee rate" during your first post is a lot higher than this hour's so 254% or 215% wont matter.
What matters is: with that fee, his transaction should have a lot of inputs to reach that total fee.
Reading the OP will help you solve that kind of issue but! You can't do it now since 1sat/B or one-digit fee rate isn't possible ATM.

During these times, I usually set the fee rate to 10sat/B then paste it on Viabtc's accelerator (higher if SegWit bec. they compute based on the RAW bytes).
it should be lower not higher if they falsely compute fees based on raw bytes.
It should be higher because wallet supporting SegWit computes based from the virtual bytes while they compute based from the RAW Bytes.
It's their requirement which is (RAW) 10sat/bytes; using that formula, if you set your SegWit transaction's fee to 10sat/vB, they will "see" it as <10sat/B.
3785  Bitcoin / Bitcoin Technical Support / Re: [Aug 2020] Fees are low, use this opportunity to Consolidate your small inputs! on: August 06, 2020, 06:28:26 AM
Just now, my friend was about to transfer 0.0015 on my wallet but he can't due to high Miner's fee (254% of the amount to be transferred),..
During these times, I usually set the fee rate to 10sat/B then paste it on Viabtc's accelerator (higher if SegWit bec. they compute based on the RAW bytes).
Then time the submission right (HH:00) and it should confirm once they mined a block.
That fee is quite good and cheap for 1-input TX anyways, in case I failed to submit it on accelerators.

BTW 254% of 0.0015BTC is 0.00381BTC - he must have used a lot of inputs for that attempted transaction since even at 100sat/B, the transaction's virtual size must be 3.8KB+
You must refer him to this thread's OP  Smiley
3786  Bitcoin / Bitcoin Technical Support / Re: Core 0.20.0 sync stuck on a block, please help, has there been a fork? on: August 05, 2020, 03:19:46 PM
True, but i don't see how it makes other block invalid since IIRC Bitcoin Core would sync block header first if it's not 100% synced.
Assuming OP is always doing the "usual blockchain catch up", then the last time he did, his node had been syncing;
and after it was 100% synced, his node might have received a "will-be" stale block (new tip) then he closed the client right away because "blockchain had caught up".

But there's no much gain in finding the exact cause of the issue since this was solved now  Smiley

it might have been lots of syncs on and off, disconnecting the hard disk on and off, oh well it's solved now. happy days.
Probably.
3787  Bitcoin / Bitcoin Technical Support / Re: Core 0.20.0 sync stuck on a block, please help, has there been a fork? on: August 05, 2020, 05:21:50 AM
nah it started with 2020-08-02T11:08:20Z InvalidChainFound: invalid block=00000000000000000007b86426ffa671d5f52a0cf22eb1a03a73c114695983c8
Perhaps your node followed a "stale block" sent by a pool right before you closed Bitcoin core.
Then when you opened to "blockchain catch-up" it was invalidated.
-snip-
I doubt it, IIRC Bitcoin Core would choose chain with most PoW.
It wouldn't know if it's the tip at that time then the user immediately close his node.
3788  Bitcoin / Electrum / Re: wallet restore from wallet file on: August 05, 2020, 04:15:32 AM
Not sure why old Electrum version was unable to open my old wallet, but fresh install of 4.0.2 solved it.
That's because you've opened it using an updated version which also updated your wallet file.
The only way to use that wallet now is to open it with the same or earlier newer versions of Electrum, trying to load it with an old version will result with an error.

Also, read the warnings above since you most likely downloaded a compromised version of Electrum v4.0+.
Or it may have failed to "hack" because of your wallet's previous version, it this case, send the funds to a new wallet immediately.
3789  Bitcoin / Bitcoin Technical Support / Re: A doubt regarding Timelock feature on: August 05, 2020, 03:56:00 AM
My question is, can we relay the above transaction immediately? OR we have to wait for nLocktime to elapse due to the reason mentioned in first line?
The difference is "nLocktime" field is in the transaction as a parameter, even TXs w/ non-CLTV outputs have this.
In which the transaction itself can't be broadcast / will be rejected by nodes (as you post's first line said).
Think of it as a stand-alone feature for your question's sake.

So, if you set the nLocktime of the spending transaction at the future block/timestamp, you wont be able to broadcast it right away.
3790  Economy / Web Wallets / Re: Blockchain.com "Not enough funds - please use maximum" on: August 04, 2020, 03:32:51 PM
Is all of your funds in that selected wallet "Meine Bitcoin-wallet"?
Because if it's in the other wallets, you need to select them each from the drop-down menu.

Otherwise, it's a common blockchain.com wallet bug which involves "wrong displayed balance".

BTW, this thread will be moved by mods to the right section.
3791  Bitcoin / Bitcoin Technical Support / Re: Replace by fee on bitcoin wallet on: August 04, 2020, 07:36:20 AM
Until Tx 2 is confirmed if anyone do RBF or CPFP then Transaction 2 will drop and you will need to create a new transaction for this.
Emphasis mine - that part is not strictly true.
-snip-
Correct, but the example may have gone over the head of some  Grin

Alternate explanation:
  • Yes, RBF will create a replacement for Transaction1 which invalidates the previous outputs and will make Transaction2 invalid for "missing input(s)".
  • But, CPFP will not create a replacement, it will just spend the other unconfirmed outputs of Transaction1 [not TX2's input(s)]
    and "anyone" can't CPFP the other outputs but the ones belong to their wallet so it won't invalidate Transaction2 even if they do CPFP.
3792  Bitcoin / Electrum / Re: How can I know the bytes of a transaction? on: August 04, 2020, 07:00:30 AM
Miners look at the sum of sats/byte, and not the sats/byte by itself, right?
Forget the intricate stuffs and manual computations, if your wallet/client supports SegWit and showing sat/vByte or sat/B, then use that.
Miners will pick the higher sat/vByte transaction (fee rate) rather than the total paid fees.
3793  Bitcoin / Bitcoin Technical Support / Re: Is this stolen? on: August 03, 2020, 11:54:43 AM
-snip- I was thinking that I may have made the transactions and forgot, but it looks like the bitcoin has been split into multiple accounts which definitely was not me, so I guess that is stolen somehow
That "split" seems normal, the last transaction just spent the "change" of your previous transactions, plus one that's probably from your older transactions.

If it's really not you, then the issue must be there's someone else who've used your seed and passphrase combination to make a wallet (which is highly unlikely)
because why would a hacker send coins to his victim's wallet?
I bet this is just caused by a cloudy memory.
3794  Bitcoin / Bitcoin Technical Support / Re: Core 0.20.0 sync stuck on a block, please help, has there been a fork? on: August 03, 2020, 03:59:44 AM
nah it started with 2020-08-02T11:08:20Z InvalidChainFound: invalid block=00000000000000000007b86426ffa671d5f52a0cf22eb1a03a73c114695983c8
Perhaps your node followed a "stale block" sent by a pool right before you closed Bitcoin core.
Then when you opened to "blockchain catch-up" it was invalidated.

AFAIK, forks with 1-block-long chain happen often because of competing miners.
Previously, we can easily check it here as a chain diagram with height: blockchain.com/btc/orphaned-blocks but the link is now unavailable.
So we can't confirm it.

But it's now solved so, congrats!
3795  Bitcoin / Electrum / Re: New to Electrum -- posted an offline transaction by accident... on: August 03, 2020, 03:04:39 AM
the transaction wasn't broadcasted in first place and I believe it's marked as pending not offline.
That "pending" is from the send tab - when you try to send a transaction and you're offline then cancel it.
The way to send it which is "right-click->pay" is different than the solution posted by ranochigo.

This thread however is an issue with locally saved transaction which was listed in the history tab marked as "Local".
Because after 4.0, users can now save a related unsigned transaction in the wallet which wasn't possible in 3.3.8 before.
3796  Bitcoin / Bitcoin Technical Support / Re: What is RBF in and how do you know that transaction doesn't use RBF? on: August 02, 2020, 06:59:19 AM
Both 0xfffffffe and 0xffffffff disable RBF. 0xffffffff also disables nLocktime.
If you are decoding a transaction as you suggest, then sequence can't be 4294967295 or 4294967294.
Thanks! I've reviewed BIP-0125 and it did said "(0xffffffff - 1)".
It's just I haven't seen a non-RBF transaction with 4294967294 sequence, or I'm not searching hard enough.
3797  Bitcoin / Bitcoin Technical Support / Re: For this 25.5 sats/byte transaction, why is the listed fee 14.395 sats/byte? on: August 01, 2020, 10:42:05 AM
For this transaction I used https://jochen-hoenicke.de/queue/#0,1w to choose a suitable fee but that lists fees in sat/bytes
For the record, "johoe's bitcoin mempool size chart" also base the transactions in vbytes so those MB are actually "(virtual) MB" and sat/B are "sat/vB".
This is written below the page:
The transactions are colored by the amount of fee they pay per (virtual) byte.

Quote from: NotATether
and since vbytes is less than bytes I wonder if this means these transactions will be included slower than legacy addresses?
Lower virtual size wont matter with the prioritization, miners will use the "fee rate" (n sat/vByte) and lower vbytes means lower total fees to pay.
For legacy, the virtual size and size will be the same since all of its data are all non-Witness.

You might be missing the point of "n sat/vByte", it's as simple as this, example:
3sat/vB of a SegWit transaction with 134 vBytes size. Just multiply it and you'll get the total fee of your transaction = 402 satoshi.
2sat/B of a Legacy transaction with 235 Bytes size = 470 satoshi.
In this case SegWit transaction will be prioritized over the Legacy transaction even though it has lower virtual size and lower total fee since it's paying a higher fee rate.
3798  Bitcoin / Electrum / Re: Electrum Lightning Network walkthrough on: August 01, 2020, 03:17:10 AM
did ur channels closing ?  my ones reopended  after a period of time with the status "redeemed".
Sorry to barge in but "redeemed" means that the fund is now spendable not a re-opened channel.
When you force-close a channel, it will create an "our_ctx_to_local" transaction that spends the closing transaction,
it can't be broadcast until a number of blocks (shown in the transaction history) has passed and will automatically broadcast if Electrum is open.

I applied freeze sending. I then tried to force-close it but it failed: "bad-txns-inputs-missingorspent"

Any pointers?  Embarrassed
If there's no "open channel" transaction, perhaps there's no established channel to begin with.
Update to this: I've experienced this just now when I tried to open a channel with another instance of Electrum while another is opening a channel.
The error message is "Assertion error" then a "Disconnected" channel was created with reflected Lightning balance but the on-chain balance wasn't deducted.
There's no "Open channel" transaction either.

When I tried to Close the channel, it just returned with an error (as expected) and the status changed to "shutdown".
When I tried to force-close the "Shutdown" channel, it returns with the same error as yours since there's no valid input.
I tried to reproduce it trice and the "bugged LN funds" reached 0.06 tBTC while my original onchain funds is only 0.02 tBTC and it wasn't spent.

So your LN funds must be a bug to begin with if there's no "Open channel" in your history.
3799  Bitcoin / Development & Technical Discussion / Re: What is the purpose of the Merkle Root in a Bitcoin block? on: July 31, 2020, 05:08:55 AM
Quote
Even if it isn't about SPV nodes, by constructing the merkle root, you're basically telling everyone all the transactions that has been included in the block. Only the block header is hashed, the individual transactions aren't.
My next question is why are the Transactions not included in the Block Header Hash as well.  
Since you're talking about "Block Header Hash", it's about mining, then that quote from the "decent answer" is the answer.

In case you've missed this info from that link and from this thread as well:
the merkle root is part of the Block header and if you hash the block header, you indirectly hashed all the transactions in that block because the merkle root is the root hash of all the txs in the block.
3800  Bitcoin / Bitcoin Technical Support / Re: What is RBF in and how do you know that transaction doesn't use RBF? on: July 31, 2020, 03:27:30 AM
-snip- how do we know an RBF transaction?
Thanks.
Usually, you can easily check your client's history or transaction's details for RBF or Replace-by-fee flag as said above.

But if you want it the hard way, you can check the raw transaction (not the hash and txid) and look for "FFFFFFFF" somewhere in the middle,
if there's none, the transaction might be signaled as replaceable.
To make sure, you can decode that raw transaction and look for "sequence", if none is exactly "4294967295", it's replaceable.

Some online tools you can use if you don't have Bitcoin core:
Pages: « 1 ... 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 [190] 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 ... 311 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!