Bitcoin Forum
July 01, 2024, 12:40:23 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 [51] 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 ... 311 »
1001  Bitcoin / Bitcoin Technical Support / Re: Trying to override a P2SH redeem script fee amount on: June 11, 2023, 01:33:46 PM
If it can be done, I would appreciate any help in doing it.
Sorry, it can't be done.
The fee is the difference between the input(s)' and output(s)' amount, not exactly indicated in the transaction.
So to edit the fee, you would need to change the output's amount which will invalidate the signature.
It's possible only for unsigned raw transaction.

BTW, mempool isn't too bad right now and 6sat/vB wont be dropped from nodes with the default settings.
Try re-broadcasting it and then perform CPFP (Child-Pays-For-Parent) to bump the overall fee rate.
1002  Bitcoin / Bitcoin Technical Support / Re: In Bitcoin Core cli, how can I list *all* transactions of an address? on: June 11, 2023, 10:34:03 AM
-snip- Not sure why this is defaulting to false as it would be really useful behavior to have on. But anyway, the listreceivedbyaddress RPC also works as well.
You must be using a legacy wallet (non-descriptor).
The wallet where you execute the command should have the "disable_private_keys" argument set to "true" when it's created.
In the GUI, the check box with the same name "Disabled Private Keys" should be ticked.

In Descriptor wallets, it's not possible to import plain address descriptors to a non-watching-only wallet so this wouldn't have happened.
1003  Bitcoin / Bitcoin Technical Support / Re: Best practices installing Bitcoind on a Linux Server (Debian 11) on: June 11, 2023, 04:56:27 AM
Requirements:
  • No full node
I don't know how it's possible with this requirement since bitcoind is a Bitcoin full node.

My understanding so far is that the bitcoin daemon is included in the Core Client and can be started independently of the QT client.
Yes, bitcoind will run independently, and you can communicate with it using RPC or other methods. (e.g.: bitcoin-cli)

Here's the developers guide for Bitcoin Core: https://developer.bitcoin.org/devguide/index.html
1004  Bitcoin / Electrum / Re: Off line cold wallet on: June 10, 2023, 05:09:34 AM
Electrum wallet as cold in windows any suggestion
There's nothing special in the setup aside from creating an extra watching-only wallet on an online PC for transaction creation and balance monitoring.
You just have to create a wallet on an "Air-Gap" PC (WiKi about Air-Gap setup), export its "master public key" and import it to an online PC.

This is not a video guide but these pictures and instructions should be easy to follow;

On your Offline PC:
  • Create a new wallet, start by typing your preferred wallet name, press "Next"
  • Select the option "Standard wallet", press "Next", then in the next window select "Create a new seed".
  • Your 12-word seed will show, copy this to a paper or other forms of physical backup (e.g. metal plates).
    After copying it, Press "Next" and Electrum will ask you to retype the seed to confirm if your backup is correct.
    Finish the rest of the steps.
  • After creating the offline wallet, open the menu "Wallet->Information"
  • This "Wallet Information" window will open.
    Find a way to copy the master public key; either by manually writing it on a paper,
    or copy-paste to a text file to be transferred via flash drive, or use the QR code icon that can be scanned in the online PC's camera during the watching-only wallet creation.

On your Online PC:
  • Create a new wallet by following the same steps up to the selection of "Standard Wallet",
    but instead of creating a new seed, select "Use a master key" instead, then press "Next".
  • Paste or Scan (via the camera icon) your master public key, and finish the rest of the steps.


To be sure that you've set-it up correctly, you can check both wallet's "Addresses" tab if they're identical.
(Open the menu: "View->Show Addresses" to enable the tab)
1005  Bitcoin / Bitcoin Technical Support / Re: In Bitcoin Core cli, how can I list *all* transactions of an address? on: June 09, 2023, 12:38:35 PM
So how can I get a list of all txids for a wallet or address inside a wallet?
For imported address within your wallet., you can use listreceivedbyaddress but with the address arg to filter it.
Otherwise it'll list the whole wallet's receiving addresses' TXID list. (excluding change for HD wallet)

Example command:
Code:
bitcoin-cli listreceivedbyaddress 0 false true "address"
(works with imported addresses via importaddress)
1006  Bitcoin / Armory / Re: not tech savvy need some help on: June 09, 2023, 08:20:19 AM
tried following your advice but the 1.35 4lines wants a chain code and a root key but i have like a really long password with symbols i cant input under "chain code" area?is it a different option?
Based from your description of "long password w/ symbols", it sounds like it's in BASE64 format.
Does it looks similar to this? (or something longer):
Code:
ra9gZBrlLJFzccxUMivcxayS5I2BliPqavhgqDk9/eI=

IDK if it's an Armory backup since I haven't used the 2012 version.
Or it might be an individual private key that you've imported to Armory so it's worth trying to decrypt it and encode into WIF format.
It's hard to tell with the current info.

For reference, Armory's "Root Key" and "Chain Code" both look like random groups of four letters separated by whitespaces.
1007  Bitcoin / Electrum / Re: Can't connect Electrum wallet to EPS on: June 09, 2023, 07:53:56 AM
Have you added your Electrum wallet's master public key in your EPS' "config.ini" file?

You can get it from Electrum menu "Wallet->Information" and paste it in the config in this format:
Code:
my_electrum_wallet = xpub.......
(remove the "#" from the sample)

Then restart EPS.
1008  Bitcoin / Electrum / Re: Multisig with Electrum on: June 09, 2023, 04:54:07 AM
Would you advise me to create the three seeds through the electrum software or through https://iancoleman.io/bip39/ (BIP39) ?
What would you be the pros and cons of each method?
Still Electrum seed if you're going to use Electrum.
The cons of using BIP39 seed is you'll have to take note of the script type and the extra steps when restoring them.
And also, there's a possible future compatibility issue since it's not recommended by Electrum itself. (check the "Warning" when restoring BIP39 seed)
The pro is of course, it's compatible with almost all non-custodial wallets.

With Electrum seed, you can directly restore them in Electrum without taking note of the script type.

Anyhow, both backup should still have a note of your selection of "m-of-n", number of required signatures and number of cosigners.
1009  Bitcoin / Bitcoin Technical Support / Re: Prune wallet on: June 08, 2023, 06:06:09 AM
How can I check whether I'm running prune mode or not? If I can remember correctly, I can check through the command console, what should I write there to check whether the prune mode is enabled or not?
You remembered correctly, just use the command getblockchaininfo and look for "pruned" among the results.
It's either "true" or "false" which is self-explanatory.

and placed the file into the Bitcoin wallet folder. Is the text correct, am I running a prune wallet?
You put the "bitcoin.conf" file in your selected bitcoin data directory in the GUI's welcome screen (first time launch),
if you're using the default data directory or bitcoind, then put in: https://en.bitcoin.it/wiki/Data_directory#Default_Location
1010  Bitcoin / Electrum / Re: Multisig with Electrum on: June 08, 2023, 06:02:29 AM
you mean reception address right ?
Right, just the receiving address since there's no blockexplorer that accepts multiple Master Public Keys to get a MultiSig wallet's entire balance.
1011  Bitcoin / Electrum / Re: Multisig with Electrum on: June 07, 2023, 02:56:25 PM
with a singlesig wallet, I can check my balance on the internet thanks to the pub key.
Will it be the same with a multisig as there will be 3 pub keys instead one ?
By saying "internet", do you mean via blockexplorer?
And by saying "balance", do you mean the entire wallet's balance?
If so, most of them do not accept multiple master public keys to check for transactions of your MultiSig Electrum wallet.
It'll only work on standard wallet's master public key.

Otherwise, just paste your MultiSig address and it'll search just like in SingleSig addresses.
1012  Bitcoin / Electrum / Re: Newbie question about a transaction on: June 07, 2023, 07:48:07 AM
Thank you, that is a big help.
Another quick question, Electrum displays the miner fees accurately, right? Or has there been an instance, maybe with an old version, where it displays fees that are too low and then you end up getting much higher ones when the transaction actually goes through?
Yes, even though it's labeled as "sat/Byte" the actual computation done is actually "sat/vByte" which is what miners use for transaction prioritization.

Or do you mean the transaction slider's estimation?
Because since it's an estimation, it's not 100% accurate, just close to the target block or mempool range.
1013  Bitcoin / Wallet software / Re: How to add message in Bitcoin tx on: June 07, 2023, 07:31:49 AM
From my side, I'm going to try with Bitcoin Core, I've never done it before and your post has made me want to give it a try.
It can't be done in the GUI but doable in the command line or console.
Just learn to use send command, then to add an OP_RETURN output, simply add a "data" key with the value of your hex-encoded message.

Example command:
Code:
send "{\"bc1address\": amount,\"data\":\"4372616967205772696768742069732061206c69617220616e642061206672617564\"}"


You can also manually create the transaction via createrawtransaction command to be able to create a transaction with an OP_RETURN output.
Like in "send", it should be added as the value of the "data" key in the outputs.

Example command:
Code:
createrawtransaction "[{\"txid\":\"<input_txid>\",\"vout\":0}]" "[{\"<output address1>\":<amount1>},{\"data\": \"4372616967205772696768742069732061206c69617220616e642061206672617564\"}]"

Since it's a manual process, the fee should be computed from the difference of the input's amount and the total amount of the output(s).
On a side note: This method is where the "or it'll be set a fee" warning should be.
1014  Bitcoin / Electrum / Re: Newbie question about a transaction on: June 07, 2023, 06:00:59 AM
What does it mean exactly when in the lower half of the "send" tab, there's a green checkmark with "sent", but that transaction doesn't show up in the history?
This is how the send tab looks like:
https://i.imgur.com/PdAssCY.png
In your Electrum version 4.0.2:
It means that you've clicked "Pay" but if "Advance Preview" is enabled, it'll show you the transaction's advanced details instead of sending the transaction,
And if you close that window without finalizing the transaction, the invoice will be labeled as "paid" even though nothing is sent or locally saved.

What this mean is there's actually nothing wrong with your wallet, just an incorrectly labeled invoice.
Always refer to the history tab since it has the actual transactions that count toward to your final balance.
1015  Bitcoin / Electrum / Re: Electrum server discussion thread on: June 07, 2023, 03:49:51 AM
Is an Electrum Server the same thing as electrumx?  I hope that's not a dumb question.
Yes, that is one implementation of Electrum server.
And I'd recommend it if your end-goal is not to use it for personal use, but public.

Plus it's fork is maintained by same developers of Electrum: https://github.com/spesmilo/electrumx
For the set-up, you can refer to its official documentation: https://electrumx-spesmilo.readthedocs.io/en/latest/HOWTO.html
1016  Bitcoin / Bitcoin Technical Support / Re: spend P2SH redeem script with Unlock Time.BOUNTY of 1000 $ for solution to work on: June 06, 2023, 04:34:52 PM
This goes above my head... Does this mean someone created an input that's impossible to spend this century?
Yes.

Basically the same as: https://coinb.in/#newTimeLocked
Tick "blockheight", then set 7140000 in the blockheight box below it.
As the matter of fact, it produces the same script which uses pubKey in contrary to others which uses pubKeyHash.
1017  Bitcoin / Bitcoin Technical Support / Re: spend P2SH redeem script with Unlock Time.BOUNTY of 1000 $ for solution to work on: June 06, 2023, 03:45:37 PM
i have read that poolin pool have broadcast in the past...non standard tx with hight fees as compensation
Yours is actually standard in the current protocol but your nLocktime isn't less than the LOCKTIME_THRESHOLD which made it "lock-by-blockheight".
So you'll have to wait for block height 7140000 or the Bitcoins locked in that script cannot be spent.

It's a different scenario this time since they do not have to change anything in Bitcoin to include the "uncompressed SegWit" transaction in their block.
All they had to do is accept that said transaction to their mempool to be included to their block.

Only miners with nodes before BIP-65 implementation may consider your transaction non-standard but valid;
But AFAIK (CMIIAW), the block will be rejected by new nodes.

Option 1: whoever has access to 39QWbnkbcPFcrJFEB6yvVDc12eX5zqVt3y can create a new transaction.
Unfortunately, the "7140000 locktime" isn't the transaction's locktime but the locking script's.

For reference, here's the input's Redeem Script:
Code:
7140000 OP_CHECKLOCKTIMEVERIFY OP_DROP <PubKey> OP_CHECKSIG
1018  Bitcoin / Development & Technical Discussion / Re: Can this fix a Problematic block in Bitcoin Core? on: June 06, 2023, 08:23:44 AM
-snip-; that it is possible to fix a corrupt blk*.dat file and it can be done as long as I do not something crazy to the block that changes the consensus rule.  
So it's just a simple "fix" to a corrupted block.dat file.

Bitcoin Core already has a feature that can detect corrupted blocks or other data and may start with an error.
Running command line option at start like -reindex (depending on the error) is the usual solution to this, no need to change a line code or anything.

What everyone explained is if you want to change in the protocol, because it is what OP sounds like.
1019  Bitcoin / Electrum / Re: Electrum 4.4.4 Released on: June 05, 2023, 02:53:04 PM
Under Network --> Server Settings --> Uncheck Select server automatically --> Select your preferred server --> Press Ok

That should pick that one server every time you load your wallet.
That will still allow Electrum to pick other nodes to connect to.

What he meant is same as the "oneserver" setting or command line option which will keep your Electrum connected to a single node, your selected server.
1020  Bitcoin / Electrum / Re: Outdated Electrum Wallet: My Experience. on: June 05, 2023, 03:30:12 AM
I hope Electrum devs will change this term "local" with something like "canceled" to avoid such confusions.
It still accounts to the wallet's total balance, it's not good to tell the user that it's cancelled.
And that would be more confusing since local transactions aren't all dropped transactions.
Some are simply not broadcasted which wouldn't fit to the "cancelled" category.

Lastly, Electrum has a tooltip that explains to the users that the transaction isn't broadcasted yet, both in Android and PC.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 [51] 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 ... 311 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!