Bitcoin Forum
June 19, 2024, 06:46:07 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 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 ... 309 »
2821  Bitcoin / Development & Technical Discussion / Re: how does transaction fees work on: July 07, 2021, 01:55:32 AM
-snip-
Edit:
Can anyone confirm if there's such a rule?
I believe this is the part that you're looking for: https://github.com/bitcoin/bitcoin/blob/master/src/pow.cpp#L54-L59

If the actual time is less than 1/4 of the expected time, then it will be equal to 1/4 of it, not any lower.
If the actual time is more than x4 of the expected time, then it will be equal to x4 of it, not any higher.
2822  Bitcoin / Bitcoin Technical Support / Re: hot wallet \ buying bitcoin on: July 06, 2021, 07:25:48 AM
There's no other way to test a transaction but to actually send a small amount.

For your peace of mind, you can say the name of the "hot wallet" and the Exchange or Service where you'll buy the bitcoins.
If both are legit, you can safely assume that you'll receive the bitcoins as long as you copied the receiving address correctly.
2823  Bitcoin / Bitcoin Technical Support / Re: BitcoinCore: How to use bumpfee command the right way? on: July 05, 2021, 12:39:14 PM
Tanks for all the replies! It makes sense that the error is coming from an incorrectly constructed json object.
I am using MacOS 11.4 and BitcoinCore 0.21.1.
So how do I use the options for a command on my system correctly?
I'm not using Mac but the best way to find out which will work is to try them.
Use it the way you're using bitcoin-cli, just fix the last part (the json object) where you missed a few quotation marks.

Code:
./bitcoin-cli bumpfee "TXID" "{\"fee_rate\":20}"
Or the other one.
2824  Bitcoin / Bitcoin Technical Support / Re: BitcoinCore: How to use bumpfee command the right way? on: July 05, 2021, 08:09:41 AM
This will not work on Windows CMD because the single quotes are not interpreted as combining all the characters together into one string. This is particularly a problem for JSON because commas are treated the same as spaces for parsing delimiters. You have to use the double-quote version, or use Powershell instead.
I suppose he's not using Windows CMD because his original command starts with "./" which wont work in it.
AFAIK the first example won't work in PowerShell either, just the other option but instead of "{\"fee_rate\":20}", should be: '{\"fee_rate\":20}' in PowerShell.

It's better if he mentioned his OS, right?
2825  Bitcoin / Bitcoin Technical Support / Re: BitcoinCore: How to use bumpfee command the right way? on: July 05, 2021, 02:58:54 AM
./bitcoin-cli bumpfee "Txid" {"fee_rate":20}

but it throws an error: Error parsing JSON: {fee_rate:
The error indicates that the json object was constructed incorrectly.

If you want to add an optional "fee_rate", you just have to enclose it with either a single quotation marks or alternate the use of \" and ".
Examples:
Code:
bumpfee "TXID" '{"fee_rate":20}'
Code:
bumpfee "TXID" "{\"fee_rate\":20}"



https://chainquery.com/bitcoin-cli/bumpfee

The error is caused by the use of a statement that is not among those options.
Chainquery's bitcoin RPC is based from v0.18, which is quite outdated.
You can refer to: https://bitcoincore.org/en/doc/0.21.0/rpc/wallet/bumpfee/ for the updated options.
2826  Bitcoin / Electrum / Re: Can not edit config file in Electrum, it gets overridden after starting Electrum on: July 05, 2021, 02:32:22 AM
Thank you all for your help.
I did as you guys said and managed to make values to stay this way
-snip-
Red values are added by me, but no matter where i put other 2 values ("auto_connect": false, & "server": localhost:50002:s,) they disappear after launching electrum and erase all other manually added values.
But since i already have --oneserver --server localhost:50002:s in my shortcut i can use Electrum + EPS + Core without those 2 values, can i ?
Certainly yes. Forcing to connect to a server will disable Electrum's auto server selection.
So you won't be needing "auto_connect": false in that case; --oneserver isn't needed in the shortcut though since it's already in the config.

The disappearance of those two lines from the config file baffles me though, it doesn't happen in my config file.
2827  Bitcoin / Electrum / Re: Can not edit config file in Electrum, it gets overridden after starting Electrum on: July 04, 2021, 03:17:30 PM
I try to delete that post but get this message: "You cannot delete your own topics in this board"

I have a reply to that thread, have you tried it already?
-snip-
I tried adding values as you said, and i do it one by one, only "oneserver": true, stays, other values get lost after i start electrum.
-snip-
Maybe the "lost" one are input incorrectly or just moved to another line?
If the line is valid, it should stay and Electrum will just rearrange them.

Those lines sould be written as (insert to your config file, skip the ones that're already in the config file):
Code:
"auto_connect": false,
"oneserver": true,
"confirmed_only": true,
"server": localhost:50002:s,
"skipmerklecheck": true,
Your "server" doesn't end with "," and may invalidate the rest of the config.
The lines "<-- this is important if your node is pruned" and similar shouldn't be added to the config.

I think those are all essential for your use-case.

Like I've said in the other thread:
Note: Do not forget to add "," if it's not the last line or it will result with the same behavior.
2828  Bitcoin / Electrum / Re: Can not edit config file in Electrum, it gets overridden after starting Electrum on: July 04, 2021, 01:47:52 PM
You already created a thread in "Beginners and Help" one hour ago (link), there's no need to repost it.
I believe it was moved to this board.

I have a reply to that thread, have you tried it already?
2829  Bitcoin / Development & Technical Discussion / Re: VanitySearch (Yet another address prefix finder) on: July 04, 2021, 01:41:38 PM
Its a real shame really while these kind of programs can generate millions of addresses why not have a simple option to input millions of private keys from a text file that otherwise would take forever to convert using python to convert using gpu and save the output to text file or otherwise save addresses with the matching pattern along with private keys
Ahh, maybe because that's not the reason why these type of programs are written?  Roll Eyes

Based from your description, it's far from vanitysearch's main purpose: "generating vanity addresses"
2830  Bitcoin / Electrum / Re: Can`t edit config file in Electrum, it gets overridden after starting Electrum on: July 04, 2021, 11:45:54 AM
You should just edit your config file's existing values into those list's values.
Example: find "auto_connect" and set the value to "false", do the same to the rest.

If it's not available, your can add it to the next line.
Example: if "oneserver" isn't yet configured, add a line containing "oneserver": true,


Note: Do not forget to add "," if it's not the last line or it will result with the same behavior.



BTW, that happens when there's an error in the config file or if Electrum can't parse it.
2831  Bitcoin / Development & Technical Discussion / Re: VanitySearch (Yet another address prefix finder) on: July 03, 2021, 03:41:12 PM
Tell me, you can somehow in VanitySearch v1.18
Set a different initial search range for the key.?
For example CCCCCCCCCC: FFFFFFFFFFF.
AFAIK, no it can't.
You can try Bitcrack, it has a --keyspace option that may be what you're looking for: BitCrack - A tool for brute-forcing private keys
2832  Bitcoin / Development & Technical Discussion / Re: What's the rationale behind difficulty adjustment after every 2016 blocks? on: July 03, 2021, 03:17:36 AM
There's a reference in "difficulty" article from the Bitcoin wiki that might answer your question: https://en.bitcoin.it/wiki/Difficulty#Related_Links
The actual link: old Reddit link
2833  Bitcoin / Electrum / Re: Legacy Wallet on Android app? on: July 03, 2021, 02:51:47 AM
Try to check some of the addresses i they belong to your master key, open the console (View->Show Console) and type:
Code:
ismine('bc1address')
(including the quotation marks) and if the results are "true", then those are your seed's addresses and there's nothing wrong with the wallet.
I did that, and the result came back as false.  What does that mean, exactly?
Whoa, that's unexpected.
If the used 'console' tab is from the same wallet where the addresses are copied, then the addresses truly changed,
ismine: "false" means that the address doesn't belong to the wallet or wasn't in the keypool yet.

If you can check all of the 20 "receiving" in the address tab and all result with "false", then there's certainly something wrong with that wallet.
Thankfully, you haven't used it.

Since you're uncertain when you've created the wallet, there wont be enough info to create a bug report in github.
2834  Economy / Service Discussion / Re: Best way to promote a referral url: on: July 02, 2021, 03:15:37 AM
Number four in this list mentioned "no referral links spam": Unofficial list of (official) Bitcointalk.org rules, guidelines, FAQ
But in general, you'd want to avoid posting referral links at all, refer to the topic link's replies for references; signature is the way to go.

An alternative way to enable signature as a newbie is to pay for "Copper Membership": Newbies can now pay a small fee to enable images (Thread by the forum admin)
2835  Bitcoin / Electrum / Re: Legacy Wallet on Android app? on: July 02, 2021, 02:32:03 AM
Perhaps you mistook the option "Standard wallet" as the option to create legacy wallet at that time?
Memory of seeing legacy addresses in the 'Addresses' tab may be a vague memory of you checking your other wallet.
No, it wasn't just that I named the wallet "non segwit".  I created it when you still could create the old-school kind of wallet where the addresses all started with a "1", i.e., non-segwit ones.  If there's no other logical explanation, I guess I must have made an error....but as I said, I could swear I looked at that address list after I created the wallet to verify that they weren't segwit addresses.  That's why I still find it strange.
Okay, there's one instance that it could happen but that's for version <3.3.4 : electrum/issues/5082#issuecomment-461428986
But It won't fix itself to display the correct addresses after an update or next restart.
Try to check some of the addresses i they belong to your master key, open the console (View->Show Console) and type:
Code:
ismine('bc1address')
(including the quotation marks) and if the results are "true", then those are your seed's addresses and there's nothing wrong with the wallet.

Since you can't remember, let's leave it as "human error" because it's not logical to find a bug without enough/accurate info.
2836  Bitcoin / Bitcoin Technical Support / Re: Need Help! All keys read correctly, but transaction data or address book entries on: July 01, 2021, 11:27:15 AM
I need to ask how/what is "bitcoin-wallet" binary and the salvage option?
If you can't find it, you may have installed the ".dmg" file.
To get it, you need to use the ".tar.gz" file instead which contains the other binaries including bitcoin-wallet.
2837  Bitcoin / Electrum / Re: Legacy Wallet on Android app? on: July 01, 2021, 08:12:57 AM
-snip-
Huh.  I actually named the wallet "Non Segwit" and created it to be such, so I'm not sure what happened.  I'll take a second look and try restoring the wallet from the seed phrase, but I'm 99.9% sure it should be non-segwit.  Weird.

Edit:  Nope, I checked the seed phrase and it matches.  That wallet was created as a non-segwit one, and I also noticed that creating a new non-segwit wallet isn't even an option anymore.  Are you sure Electrum would not be able to do that?
On which version did you created the wallet?
Because I'm thinking that this might be what happened if you're using Electrum v4.1.0+: In the "Install wizard", you typed "Non Segwit" as the wallet name due to the intention of creating a legacy Electrum wallet.
After selecting "Standard wallet->Create a new seed", there's no 'seed type' options since it was removed in that version but finished creating the wallet anyways.
Since it's v4.1.0, the created wallet is native SegWit regardless of the "Non Segwit" wallet name.

Perhaps you mistook the option "Standard wallet" as the option to create legacy wallet at that time?
Memory of seeing legacy addresses in the 'Addresses' tab may be a vague memory of you checking your other wallet.
2838  Bitcoin / Development & Technical Discussion / Re: how does transaction fees work on: June 30, 2021, 02:59:34 PM
Partly correct, except the node isn't something that's created, you run a lightning node just like running a cryptocurrency node.
Some SPV wallets have their own implementation of a "light" lightning client.
To create a channel, the bitcoins will be locked through a special "funding transaction", that involves another node.

After a lightning transaction, the user may choose not to close the channel; the user can use it for more LN payments up to the channel's capacity (funds).
The channel should only be closed when the user want to claim his part into on-chain funds.

There's more to that and the info should be available in various sources like for example: The Lightning Network FAQ
And specially from this site: http://lightning.network/how-it-works/ | http://lightning.network/docs/
Lastly, it's getting off-topic, here are some documentations you will need: https://developer.bitcoin.org/
2839  Bitcoin / Development & Technical Discussion / Re: how does transaction fees work on: June 30, 2021, 10:22:26 AM
-snip-
Is the bep20 network of binance a good idea or will the transaction costs here also be too large for the concept I would like to implement?
The problem with those networks is even though the value is the same in the Exchange,
your customers will be limited since technically, it's not related to Bitcoin and [BTC] holders can't send nor receive from your app's Binance chain bitcoin [BTCB].

I agree with the above, a number of payment options will be a good feature.
If you can implement lightning payments into your app, that'll be great.
2840  Bitcoin / Electrum / Re: Legacy Wallet on Android app? on: June 30, 2021, 06:37:00 AM
What do you mean by "legacy deposits"?
Because the android version of Electrum like the PC version can always accept both non-SegWit and SegWit transactions.
Pages: « 1 ... 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 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 ... 309 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!