Bitcoin Forum
December 11, 2018, 06:42:56 PM *
News: Latest Bitcoin Core release: 0.17.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 ... 547 »
241  Bitcoin / Development & Technical Discussion / Re: 64: too-long-mempool-chain on: May 15, 2018, 04:20:08 AM
Can I override the default limit of 25 unconfirmed transactions by adding to cofiguration file as below.

  1.  Additionally write to configuration file.
  bitcoin.conf-----------------------
  limitancestorcount=1000 ← e.g. 1000
  limitdescedantcount=1000 ← e.g. 1000
  ----------------------------------
Sure, you can do that, but that does not mean that your transactions will actually be relayed across the network. Just because you have this in your config does not mean that your peers will so they likely won't accept any transactions once you reach the default limit. Your local config only applies to your node. Changing this just means the transactions will sit in your node's mempool (and not be relayed across the network). They won't even be rebroadcast by your node because nodes don't do that.

Instead of trying to get long unconfirmed transaction chains to be relayed, you should be rethinking why you are generating long unconfirmed transaction chains and thinking of ways that you can avoid making long unconfirmed transaction chains instead.

 2. Restart bitcoind with -reindex options.
No need to do that. This has nothing to do with the databases.
242  Bitcoin / Bitcoin Technical Support / Re: Node Privacy on: May 15, 2018, 04:17:19 AM
Privacy in what regard? Do you want people to not know your node's IP address? Or do you want people to not know whether you are behind your transactions? Or something else?
243  Bitcoin / Bitcoin Technical Support / Re: Berkeley db address format on: May 14, 2018, 06:08:04 PM
A follow up question...I understand that if an address has a transaction, then the public key can then be known. Thatís why bitcoin generally uses new addresses every time. How can I find the public key in the event that the address has a transaction?  The address Iím looking for does not, but Iím just asking to learn in this case.
You would have to find the transaction, parse it as a standard Bitcoin transaction, and look at the inputs to see if any of the public keys hash to the hash encoded by your address. Bitcoin Core does not store transactions by association to the address, and addresses nor their data are contained in the inputs of a transaction.

Note that transactions can also be associated by the outputs. In that case, the public key is not known, however the hash provided in the output will be the same hash encoded by the address.
244  Bitcoin / Bitcoin Discussion / Re: Bitcoin Core 0.16.0 Released on: May 14, 2018, 05:24:52 AM
What happen if send BTC from legacy address to SegWit address?
The typical thing happens, your Bitcoin are transferred from a legacy address to a Segwit address. The address types really don't matter; the network doesn't care and such transactions are possible due to the soft forking nature of Segwit. You can even do it the other way around, segwit address to legacy address. It doesn't matter.
245  Bitcoin / Bitcoin Technical Support / Re: Berkeley db address format on: May 14, 2018, 05:22:15 AM
Bitcoin Core does not store the address itself nor does it store the hash160 which is encoded by the address. Bitcoin Core stores the public key and its private key, but the address encodes the hash of the public key. You cannot compute the public key from the address, all you can really do is find public keys and compute their addresses to see if they match your address.

Luckily Bitcoin Core stores public keys in a fairly obvious form. They are prefixed with the letters "key" or "ckey" depending on whether your wallet is encrypted. Not that you cannot just search for these strings as there are other data in the wallet file that have the string "key" in them. Following the string will be a length prefix specifying 33 or 65 bytes and then the public key itself.
246  Bitcoin / Bitcoin Discussion / Re: Bitcoin Core 0.16.0 Released on: May 13, 2018, 04:21:24 PM
On one on our computers, on which we use Bitcoin Core, we are behind a NAT. Before 0.16, we had 8 incoming connections at most, but lately, we're seeing 16 incoming connections. Certainly speed things up. Thank you, I guess? Is this a documented new feature?
There was no such change that does that. Seeing your incoming connection count increase is normal behavior.
247  Bitcoin / Bitcoin Discussion / Re: Bitcoin Core 0.16.0 Released on: May 13, 2018, 02:14:56 AM
i got a question, can i add 2 datapaths to the config so i could store 2 copies of the blockchain in 2 difference locations from 1 node thats running?
No, you cannot do that.
248  Bitcoin / Bitcoin Technical Support / Re: WARNING: request rejected because http work queue depth exceeded on: May 12, 2018, 11:53:01 PM
the node accepts HTTP and RPC requests during regular operation, from other nodes in the network?
No, it does not.

Connections from other nodes use the peer-to-peer network protocol which uses different ports and is not HTTP.
249  Bitcoin / Bitcoin Technical Support / Re: WARNING: request rejected because http work queue depth exceeded on: May 12, 2018, 05:39:27 PM
1. What could be triggering this error?
RPC commands are being issued faster than they can be handled.

2. What can I do to avoid it? Settings recommended here fix it or just delay the problem?
You can set -rpcworkqueue to a number higher than 16.

3. Is there a log or a command that allows me to query and monitor the number and origin of RPC quests over time?
Start bitcoind with -debug=rpc and -debug=http. You will see information about the RPC commands and HTTP server stuff logged to the debug.log file.
250  Bitcoin / Development & Technical Discussion / Re: Unable to make a payment for using Segwit and not using a desktop wallet, wtf? on: May 10, 2018, 06:47:06 AM
This issue is unrelated to hardware wallets or segwit entirely. It is solely related to the software that you are using (and yes, if you are using a hardware wallet, there is still a wallet software that you are using. Hardware wallets cannot operate completely standalone). Furthermore, the payment protocol is completely unrelated to segwit entirely; they only specify non-segwit in the guide because that is what they show for setting up Electrum.

Unfortunately there is no known easy workaround for this problem. Bitpay has removed other methods of getting addresses from their website. The only method that I know of is to extract the address from the payment protocol data itself which requires other specialized software such as http://github.com/achow101/payment-proto-interface.
251  Bitcoin / Bitcoin Technical Support / Re: Unstable Bitcoin Connection on: May 08, 2018, 09:13:00 PM
addnode does not guarantee that a connection to the specified node will be attempted. If you want to guarantee that a connection will be attempted, then you need to use the -connect option.
252  Bitcoin / Bitcoin Technical Support / Re: Bitcoin Core app and the unlocking of the iconÖ on: May 06, 2018, 06:13:35 AM
While it's obvious that if the scammer saw this thread I'm trying to lay as low as possible in hopes to not cause him suspicion is there a way I could PM the video to you?
Sure
253  Bitcoin / Development & Technical Discussion / Re: Stale files kept under "chainstate"? on: May 06, 2018, 06:06:32 AM
Yes, that's one possibility I thought of. Maybe old TXOs that haven't been used in years.
But considering all the other files change at most every few days, and these haven't changed in months, it does seem odd.

cellard says all his chainstate files are with recent dates. Is it the same for you? And any 0-prefix files?

All of my chainstate files are  fairly recent. No 0 prefix files.

Since the database format has changed in recent versions, it's possible that those are old database files from previous versions.

Are you able to check when those files were last accessed?
254  Bitcoin / Bitcoin Technical Support / Re: How can I get a copy of blk0001 on: May 05, 2018, 04:30:29 PM
This is a quote from Matt. "This needs to go into 0.3.24, so that users who downgrade don't mess up their wallet by adding unencrypted keys to an encrypted wallet, making all versions unable to use the wallet." It is my understanding that when using Cwallet that Matt changed the private key around 0.3.2.1- 0.3.2.3 and it would crash the wallet in 0.3.2.4. it was part of garzik code for encrypted keys that Matt worked on
Email me if you know the format of encrypted keys.
No, you understand completely incorrectly.

As I said earlier, private key encryption was released in 0.4 and no earlier. Wallets prior to that were not encrypted. The problem here is that introducing encrypted keys changes the wallet format by adding things to the wallet that previous versions do not know. Thus the wallet will crash and become corrupted if you encrypted it with 0.4 and then downgraded to 0.3.x. The change for 0.3.24 was so that if someone downgraded from 0.4 to 0.3.24, the act of downgrading would not corrupt their wallet as it would with 0.3.23 and earlier. This has nothing to do with CWallet nor with 0.3.21-0.3.23. Encrypted private keys were not part of any 0.3.x version.
255  Bitcoin / Bitcoin Technical Support / Re: Bitcoin Core app and the unlocking of the iconÖ on: May 05, 2018, 04:07:25 PM
Based on the low resolution (blurry) images, [1] is Bitcoin Core wallet?, [2] I have no idea, can't tell by the looks and I'm positive that [3] is Multibit, which are all made by different developers.
These are all Bitcoin Core wallets. The window that is screenshot is actually the Debug console which is a separate window that Bitcoin Core create when you go to Help > Debug Window > Console.



The icon is indeed supposed to change from closed to open when you unlock. This looks like a bug. Can you provide exact replication steps?
256  Bitcoin / Development & Technical Discussion / Re: Why the wallet.dat file isn't fully encrypted? on: May 05, 2018, 04:01:29 PM
Yup but that's what why I proposed a double lock system:
A double lock system does not get around the fact that it is still a UI/UX issue.

Furthermore, you are asking users to remember yet another password. It seems that it is far more common for people to lose their coins by forgetting their password rather than having someone steal them. Even cases of stolen encrypted wallets seem to be quite low. By adding another password, you introduce yet another way for people to lose their coins. Forget one of two passwords and you are screwed.
257  Bitcoin / Development & Technical Discussion / Re: Stale files kept under "chainstate"? on: May 05, 2018, 01:23:55 AM
Just because the files have not been modified does not necessarily mean they are unused. Those database files are likely still accessed as they contain data that Bitcoin Core needs. However that does not mean that those file need to be modified. The data stored there does not always need to change.
258  Bitcoin / Development & Technical Discussion / Re: Why the wallet.dat file isn't fully encrypted? on: May 05, 2018, 01:21:14 AM
If the wallet.dat file were fully encrypted, you would not be able to see your funds, get addresses, etc. without entering the password. This means that for the wallet to be useful, you have to prompt the user to unlock the wallet at start. Unfortunately this is not really easily done with bitcoind which does not have a GUI. Furthermore, it is not necessary for the entire wallet.dat to be encrypted because all that really matters are the private keys, and not anything else in the wallet file.
259  Bitcoin / Bitcoin Technical Support / Re: Using Createrawtransaction Got no-witness-yet Error on: May 03, 2018, 08:49:13 PM
How can I spend money using createrawtransaction? I am not familiar with Segwit...
createrawtransaction is unrelated to this or to segwit. The problem is that the wallet assumes segwit is enabled by default, but segwit is not enabled according to your network rules. So you either have to enable segwit in the network rules, or change the wallet to assume segwit is disabled. How you do that you will need to figure out yourself.
260  Bitcoin / Bitcoin Technical Support / Re: Using Createrawtransaction Got no-witness-yet Error on: May 03, 2018, 04:22:52 PM
Code:
      "txid": "551ba4bde3460bca6a6cae7da57ffd8b3f1baf18ad7a2e6d50f8d4f5b0a94e14",
      "vout": 1,
      "scriptSig": {
        "asm": "0014620cfaeb631c99d45490cc6560a7258835c260f8",
        "hex": "160014620cfaeb631c99d45490cc6560a7258835c260f8"
      },
      "txinwitness": [
        "3045022100a1e4403c6327fb787ef498cfaf6c54f8372f2792c06a7156cad6cf15c729de2802201eb1b48e2443b04688091897caf0fc9afbfc002227c05441a5f1723be9a532e401",
        "02533dc7b0e2d8f359fb235fd52bcda6135cfb0e39c6d9d93a10704457ff30e6ff"
      ],
      "sequence": 4294967295
    }
This is your problem, the input you are spending is a segwit input. You will need to figure out how to prevent your fork from creating segwit outputs that can be spent as inputs.
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 ... 547 »
Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!