Bitcoin Forum
June 16, 2024, 05:49:42 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 [340] 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 ... 590 »
6781  Bitcoin / Development & Technical Discussion / Re: How does the protocol broadcast hidden services? on: April 16, 2016, 09:28:55 PM
thanks so much usually the startup command for me is

bitcoin-server &

but I seem to have trouble passing -listenonion, -rescan, or anything to bitcoin-cli or bitcoin-server

If I can figure out what I'm doing fundamentally wrong, when I see all the guides talk about passing in these options, maybe I can figure it out!
Is bitcoin-server supposed to be bitcoind renamed? If so, then you need to have the options before the ampersand (&). Otherwise, I'm not sure if you are actually using bitcoind. Perhaps that command is actually for a script?
6782  Bitcoin / Bitcoin Technical Support / Re: Block hash - 256 or 512 bits? on: April 16, 2016, 09:02:05 PM
From reading the wiki (https://en.bitcoin.it/wiki/Block_hashing_algorithm), a block hash is 256 bits.

Out of curiosity, I copied a block hash (block 125551, just a random pick) and turned it into binary, see:
$ echo 00000000000008a3a41b85b8b29ad444def299fee21793cd8b9e567eab02cd81 | xxd -b -c 4
0000000: 00110000 00110000 00110000 00110000  0000
0000004: 00110000 00110000 00110000 00110000  0000
0000008: 00110000 00110000 00110000 00110000  0000
000000c: 00110000 00111000 01100001 00110011  08a3
0000010: 01100001 00110100 00110001 01100010  a41b
0000014: 00111000 00110101 01100010 00111000  85b8
0000018: 01100010 00110010 00111001 01100001  b29a
000001c: 01100100 00110100 00110100 00110100  d444
0000020: 01100100 01100101 01100110 00110010  def2
0000024: 00111001 00111001 01100110 01100101  99fe
0000028: 01100101 00110010 00110001 00110111  e217
000002c: 00111001 00110011 01100011 01100100  93cd
0000030: 00111000 01100010 00111001 01100101  8b9e
0000034: 00110101 00110110 00110111 01100101  567e
0000038: 01100001 01100010 00110000 00110010  ab02
000003c: 01100011 01100100 00111000 00110001  cd81

Now I'm counting 4 columns (2nd untill the 5th), 16 lines, and 8 characters per set. 4*16*8=512 bits.

I must be missing something obvious, but haven't found it, yet. Pointing out the obvious is appreciated. Thanks.

You read the hash as string and the characters are the binary of the ascii characters. What you want to do is convert the hex to a binary number,
6783  Bitcoin / Development & Technical Discussion / Re: How does the protocol broadcast hidden services? on: April 16, 2016, 08:26:12 PM
I'm trying to do "Automatically listen on Tor"
https://github.com/bitcoin/bitcoin/blob/master/doc/tor.md

"Starting with Tor version 0.2.7.1 it is possible, through Tor's control socket API, to create and destroy 'ephemeral' hidden services programmatically. Bitcoin Core has been updated to make use of this.

This means that if Tor is running (and proper authorization is available), Bitcoin Core automatically creates a hidden service to listen on, without manual configuration. This will positively affect the number of available .onion nodes.

This new feature is enabled by default if Bitcoin Core is listening, and a connection to Tor can be made. It can be configured with the -listenonion, -torcontrol and -torpassword settings. To show verbose debugging information, pass -debug=tor."


I tried:
bitcoin-cli -listenonion

but I get error:

error: too few parameters

so how can I run bitcoin on Tor?
You have to do that to the startup command for starting bitcoind it bitcoin-qt.
6784  Bitcoin / Bitcoin Discussion / Re: Bitcoin Core version 0.12.1 released on: April 16, 2016, 02:35:17 AM
congratulation cyrus for the new virsion of bitcoin core.
Heh, well Cyrus isn't someone who works on Core (at least, not that I know of), he just posts these announcements because no one on the core dev team does.

I am currently using electrum but thinking to move to new bitcoin core.
I used old bitcoin core but that was took so many times to synchorizing. what about this one?
The latest versions are kinda fast, it does depend on your computer though. Since 0.10, the sync speed has increased and with some other upgrades, it has gotten slightly faster. However, it still can take between a few hours and a few days depending on your internet, hard drive, CPU, and RAM.
6785  Bitcoin / Armory / Re: HELP! Transaction broadcasted while offline on: April 16, 2016, 02:22:10 AM
Don't quote me on this but I'm pretty sure the mempool on Core doesn't persist the process, so simply closing Core should do it. You should still ask Core devs directly on their slack/IRC channel.
Yes, that is all you need to do. Restart the node and the mempool will be cleared.

So, all i have to do is help->clear all unconfirmed transactions on armory, or what do you mean by restarting the node?
You do that to remove the transaction from Armory.

Or do i have to do something else with bitcoin core / bitcoind ? Do i have to close the process bitoind.exe?
You restart Bitcoin Core to clear the mempool and that will stop the transaction if it never hit the network. AFAIK, Bitcoin Core does not rebroadcast transactions in its mempool.
6786  Bitcoin / Bitcoin Technical Support / Re: bitcoin full node issue on: April 16, 2016, 02:20:47 AM
Hi All,

I thought you may be able to help me with the setup of bitcoin full node.

I have downloaded recently Bitcoin full node where it is catching up with the blockchain (I am 19 weeks behind).

I have tried now for few days to sort all the configuration and make sure it is working nicely on my laptop. Below are the issues I noticed:-

1) The download of the blockchain has been VERY slow. It is my forth day. However, I am almost there.
The blockchain is 60+ Gb, it is going to take a while to download. What also matters is your hard drive, CPU, and RAM. It needs to store all of that data to the disk and index the data which is CPU and RAM intensive. It is faster with an SSD, a decent CPU, and at least 4 Gb of RAM.

2) The number of connection which I have is usually 8 and sometimes it goes to 9 (only 1 in and 8 out). I am not sure why I am not getting more. Sometimes I have zero in.
That is pretty normal, especially for a new node that isn't synced yet. Wait to be synced and then just leave it on for a while and you should get more connections over time.

3) When I test in bitnodes to check if I am reachable. In most cases it says I am not. however, sometimes it says I am.
That could also be an indicator of a problem with your firewalls, however generally this is hard to diagnose. If you want, you can PM me your IP address and I can attempt to connect with my own node.
6787  Bitcoin / Bitcoin Technical Support / Re: reindexing every time. on: April 16, 2016, 02:17:30 AM
When I stop bitcoind and restart it. it always start with reindexing.

does anyone know why?
Check the command that you are using to start it. If you start with the -reindex option, it will always start with a reindex.

With the log, you need to provide all of it as segments of it may not contain the error.
6788  Bitcoin / Armory / Re: HELP! Transaction broadcasted while offline on: April 15, 2016, 10:21:05 PM
Don't quote me on this but I'm pretty sure the mempool on Core doesn't persist the process, so simply closing Core should do it. You should still ask Core devs directly on their slack/IRC channel.
Yes, that is all you need to do. Restart the node and the mempool will be cleared.
6789  Bitcoin / Armory / Re: Armory 0.94.1 is out on: April 15, 2016, 08:43:04 PM


It's currently tuned to run at around 1GB.

that's interesting b/c i had to increase it from 2GB to 4GB to get it to run again.

You also have to consider what the OS consumes.
And Bitcoin Core. Bitcoin Core consumes quite a bit of memory.
6790  Other / Beginners & Help / Re: visualzing bitcoin core on: April 15, 2016, 08:41:45 PM
So nothing to show my brother and parents who were "staring" at my PC, looking at the bitcoin-core, and seeing nothing - and trying to understand it. It (the core) doen't have an incentive, unlike mining...
What are you trying to show them? That it's connected to something? If you want that, you can hover over one of the icons in the lower right hand corner and it will tell you what it is connected to. Or you can go to Help > Debug Window then the Network Traffic and the Peers tab will show you the data that Bitcoin Core has uploaded and downloaded and the peers it is connected to.
6791  Bitcoin / Bitcoin Discussion / Re: Bitcoin Core version 0.12.1 released on: April 15, 2016, 08:39:07 PM
Technically, they aren't. The estimate for code release was April, so there are 15 more days to go.
Well the 4 BIP soft forks was scheduled to be released in March but it just came out today, so I would say it's a bit behind.
6792  Other / Beginners & Help / Re: visualzing bitcoin core on: April 15, 2016, 07:02:58 PM
You would need third party software. Bitcoin Core will only tell you some stats about your peers but no "visualization".

Which third party software? Is it safe to use?
I don't know of any that would do that. I just know that Bitcoin Core itself does not give any visualizations of anything.
6793  Bitcoin / Bitcoin Discussion / Re: Bitcoin Core version 0.12.1 released on: April 15, 2016, 07:01:11 PM
It should have been released in April to be activated before the halvening and having any impact as a capacity increase. It seems that you are the one that has no idea what he is talking about.
Again, says who? That is your opinion that it should have been released in April. Yes, they are a little behind schedule, but that is for a good reason. The code is being thoroughly tested and what bugs that have been found have had to be fixed before any release could be made. The testing process takes significant time and energy, and with the changes that have been made for BIP 9, 113, 68, and 112 and for segwit, a lot of testing and code review takes time to make sure that it is perfect.
6794  Other / Beginners & Help / Re: visualzing bitcoin core on: April 15, 2016, 06:57:11 PM
Do you mean a visualization of the nodes your client is connected with?

Yes, exactly. Is it possible? How?
You would need third party software. Bitcoin Core will only tell you some stats about your peers but no "visualization".
6795  Bitcoin / Armory / Re: Maximum number of addresses in wallet on: April 15, 2016, 06:56:09 PM
Is there a maximum number of addresses that can be used in a single wallet?
In theory, no, I don't think there is a maximum.

I'm wondering about this question too. Let's say I do this:

  • Generate billion addresses in my watch-only wallet (on my online computer) and receive bitcoins on all of them.
  • Delete this watch-only wallet.
  • Create a new watch-only wallet on my offline computer and transfer it to the online computer.
  • I have now forgotten how many addresses I had actually generated (the answer is billion, but I don't remember that anymore).

Unde this scenario, how can I now be 100% sure that I have access to all of my bitcoins? Is my only option to generate again trillion (remember, I don't remember the answer is billion so it could be substantially higher) addresses?
With that scenario, I think you would have to generate that many addresses. Now, you wouldn't have to jump to a trillion, just use some common sense and logic. If you think it was a few billion, then generate 10 billion addresses. You don't need extremes like a trillion.
6796  Bitcoin / Bitcoin Discussion / Re: Bitcoin Core version 0.12.1 released on: April 15, 2016, 03:09:09 PM
I'm not sure how this "community support" is calculated exactly?
There is no exact metric that enables one to get accurate analysis of the community support. I have no idea how they exactly plan on "measuring" it.
They probably mean that they will be using a high threshold for activation and reaching that threshold means that a lot of miners will need to support the increase (and though them the community).



They told to those 4 miners that they will release a segwit scaling solution before the halvening. But they failed. We will go into the halvening without a capacity increase.
Stupidity in perfection.
What are you taking about. You clearly have no idea what you are taking about. Segwit will be released before July when the halving happens. The release should be on a few weeks.
6797  Bitcoin / Bitcoin Discussion / Re: Bitcoin Core version 0.12.1 released on: April 15, 2016, 02:15:36 PM
Is it me or this new version came out fast then the usual updates ?
Yeah, there was a really fast turnaround for this release. Instead of waiting a week after the rc2 release, we only waited a few days. Then it was also tagged and had enough gitian builds in a few hours after that so it was a very fast release.

anyone know when the "Segregated Witness" thing is going to happen btw ? I know that something is supposed to happen this April and the block thing on next year ? or july ? can't remember.
It should be happening later this month or early May. It should be the 0.12.2 release and hopefully that will have just as fast a release as this one.
6798  Bitcoin / Bitcoin Technical Support / Re: Bitcoind 0.12 pruned locks file system on: April 15, 2016, 02:07:51 AM
@knightdk There was nothing in the debug.log at the failure time I checked.
@cr1776 Ubuntu 15.10, locally hosted? I guess yes!

use ubuntu 14.04 because 15 not recommend
Says who?

@knightdk There was nothing in the debug.log at the failure time I checked.
@cr1776 Ubuntu 15.10, locally hosted? I guess yes!
I'm using 15.10 as well and I cannot reproduce this. Can you provide specific steps for getting this problem? Also what are the specs of your system?
6799  Other / Beginners & Help / Re: Need Help Understanding Base58Check Encoding... on: April 14, 2016, 12:34:21 AM
Sorry, again, I am self-taught when it comes to coding, I do not fully understand the pseudocode... From what I understand I have to change "8044d00f6eb2e5491cd7ab7e7185d81b67a23c4980f62b2ed0914d32b7eb1c55815b0e9051" into a "big integer" and then perform some math on it. How do i convert a plain text string to a "big integer"?
It means treat that hex string as a really big integer encoded in hex (base16). The easiest thing is to go to a site like http://www.wolframalpha.com/ and type that string followed by " convert to decimal" and it will give you a really large decimal integer. Then you just use that number to do the conversions.

Also, when working with hex, you always need to think of hex not as a string but as bytes and integers.

When i go to that site and type:
Code:
8044d00f6eb2e5491cd7ab7e7185d81b67a23c4980f62b2ed0914d32b7eb1c55815b0e9051 convert to decimal

I get:
Code:
Wolfram|Alpha doesn't understand your query

Showing instead result for query: decimal
Oh, you need to prepend it with a 0x and use base10, not decimal, sorry. So 0x8044d.... convert to base10
6800  Other / Beginners & Help / Re: Need Help Understanding Base58Check Encoding... on: April 14, 2016, 12:11:39 AM
Sorry, again, I am self-taught when it comes to coding, I do not fully understand the pseudocode... From what I understand I have to change "8044d00f6eb2e5491cd7ab7e7185d81b67a23c4980f62b2ed0914d32b7eb1c55815b0e9051" into a "big integer" and then perform some math on it. How do i convert a plain text string to a "big integer"?
It means treat that hex string as a really big integer encoded in hex (base16). The easiest thing is to go to a site like http://www.wolframalpha.com/ and type that string followed by " convert to decimal" and it will give you a really large decimal integer. Then you just use that number to do the conversions.

Also, when working with hex, you always need to think of hex not as a string but as bytes and integers.
Pages: « 1 ... 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 [340] 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 ... 590 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!