Bitcoin Forum
May 11, 2024, 11:00:19 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Project Development / Re: Keyhunt - development requests - bug reports on: October 15, 2021, 08:58:16 PM
Albert, I think your videos will help people understand, especially the "0 keys" question!

yes that is why i do it, any request for a new video just tell me Smiley

How is the "-r" range supposed to work? I ran a test using keyhunt in address mode but set the range limited to 1:10.

I expected keyhunt to find the first 3 address only and stop searching due to the range I set. keyhunt found the first 3 addresses and more! I was confused why it found more than the first 3 addreses and continued searching past the range that was set?

Test:

./keyhunt -m address -f tests/1to32.txt -r 1:10

-r 1:10 is too small, i need to check the code but i remeber that the limit is something like 65K keys there are some internal limits for the number of operations, the minimal number of keys is 1024 but the code doesn't limit it, i need to chage it to show a warning in screen.



Ok I am following on the range being too small. I will try with a larger range and see if keyhunt works correctly. It would be helpful to know exactly what the minimum range limit is. So since I did not get the results I expected I held off on doing additional tests. A warning in the console would definitely be helpful if you use a range that is too small. Thanks for the quick response too.
2  Bitcoin / Project Development / Re: Keyhunt - development requests - bug reports on: October 15, 2021, 05:31:23 PM
How is the "-r" range supposed to work? I ran a test using keyhunt in address mode but set the range limited to 1:10.

I expected keyhunt to find the first 3 address only and stop searching due to the range I set. keyhunt found the first 3 addresses and more! I was confused why it found more than the first 3 addreses and continued searching past the range that was set?

Test:

./keyhunt -m address -f tests/1to32.txt -r 1:10
3  Bitcoin / Project Development / Re: List of all Bitcoin addresses ever used (OP rewritten, updates work again) on: November 28, 2020, 08:08:49 PM
Just yesterday, I got a good deal on a new VPS (more memory, more disk, more CPU and more bandwidth). It's dedicated to only this project (and I have no idea how reliable it's going to be). I've updated the OP.

There's a problem though. There are:
756,494,121 addresses according to addresses_in_order_of_first_appearance.txt.gz
756,524,407 addresses according to addresses_sorted.txt.gz
Obviously, these numbers should be the same. I haven't scheduled automated updates yet, I first want to recreate this data from scratch to see which number is correct.

Thanks for the update the last .gz you had I think was from September.

4  Bitcoin / Project Development / Re: Wlox exchange on: March 08, 2018, 04:57:50 PM
This project is 3 years old and has security flaws. I do not recommend re-using it unless your know how to fix the security holes and given you cannot install the software I'm not sure you are up for that task. I advise you to look for another solution, you are wasting your time on this one if you intended to use this to launch your own exchange.
5  Bitcoin / Project Development / Re: MonteCrypto: 1 BTC prize for the winner of this video game! on: February 21, 2018, 10:56:31 PM
For what end does your game include the whole OpenSSL library, including functions more keen to mine bitcoins than to play a maze game?
And why my GPU never goes down from 100% even with the game in background?

Some of fhe functions found at the main exe:

Code:
i2d_ECParameters
i2d_ECPKParameters
i2d_ECPrivateKey
i2o_ECPublicKey
...

Code:
EC_KEY_check_key
EC_KEY_copy
EC_KEY_generate_key
EC_KEY_new
EC_KEY_print
EC_KEY_print_fp
EC_KEY_set_public_key_affine_coordinates
EC_POINTs_make_affine
...

I don't have the proof yet but too many things with this game do not add up.

The game is selling for less than 2$. They need to sell at least 5,000 copies to break even to just recover the cost of the BTC they are giving away. That doesn't cover any of the development costs to create the game.

I think this game was build to hijack high end GPU resources from gaming computers. This is only a theory right now I do not have the proof yet. Let me know if you find anything SirArthur.
6  Bitcoin / Development & Technical Discussion / Re: Latest bitcoin core? on: February 09, 2018, 11:35:15 PM
I was going to run two nodes and had setup the addrindex patched node to run on a VM. Due to some disk constraints (speed, capacity) I ended up deciding I would just run the patched addrindex node and use whitebind and whitelist in my bitcoin.conf so nobody but I can connect. You raised a point about vulnerabilities. Do you think the addrindex node is protected if I use whitebind and whitelist?
You have to connect to the outside world somehow... you could run your gateway node with pruning, then it would only use about 3GB space or so.

Quote
Also, what about the incorrect results you saw? What did you see and was it from this version: bitcoin-0.13.2-addrindex?
Querying it on an address wihch had funds returned no results.  The addrindex code there was written by Pieter as a quick lark, before he realized it was a bad idea and abandoned it.  Other people picked it up and patched it forward but made no effort to improve it or investigate the issues I encountered with it.

Generally it's my expectation that anyone who uses something like addrindex is eventually going to be forced to us a centralized service provider like blockchain.info once the resource costs of an unpruned address indexed full node is beyond what they can support.  (The fact that you struggled with running two nodes suggests that you're within a factor of two of that already).


Interesting. I will know in a couple hours after bitcoin core is done processing blocks on disk if 0.13.2-addrindex returns the correct balance or not. I sure hope it does or my efforts this far have been a waste of time. Also, thanks for that history, I was not aware of Pieter's contribution and the background of this bitcoin core patch.

Running the nodes is not so much a struggle, its just that I want results now and have been trying a few different configurations.

First off in my journey here I ran the latest bitcoin core 0.15.1 and after 2 or 3 days I had the full blockchain. Played around with some of the RPC calls but found even with that I still can't get the information I needed.

So I did some research and found out about 0.13.2-addrindex. One real fucking pain has been that 0.13.2-addrindex and 0.15.1 have different database versions. Getting the full blockchain I downloaded to work with 0.13.2-addrindex was not a struggle but a time consuming process and I am impatient and want results NOW!

So I've finally got 0.13.2-addrindex on what I think are the last stages. I rebuilt the blockchain so it would work with this version. And configured the bitcoin.conf to enable the address indexing. It took forever for the build indexes on disk step. Finally its been processing blocks on disk and is close to completion.

If this doesn't work out I am going to look into porting NBitcoin.Indexer (github.com/MetacoSA/NBitcoin.Indexer) to use local filesystem storage instead of Azure or look into using NBXplorer (github.com/dgarage/NBXplorer)

So yeah. Hopefully this works out. If not you can see I've got a plan B and C already Wink
7  Bitcoin / Project Development / Re: Large Bitcoin Collider Thread 2.0 on: February 09, 2018, 06:53:55 PM
Is this code open source and how could I get access? In the first post you have a link to https://svn.cryptoguru.org/ which looks like an SVN server but it requires credentials as you mentioned.

Thanks
8  Bitcoin / Development & Technical Discussion / Re: How are unique address in Bitcoin calculated? on: February 09, 2018, 05:54:23 PM
Wow that's a great graph.

It is funny, it has an export function but it only gives you a number per day.

It would be nice to get the actual addresses.
9  Bitcoin / Development & Technical Discussion / Re: Latest bitcoin core? on: February 09, 2018, 04:48:06 PM
The biggest differences are related to syncing performance, which is going to be significantly worse for you with address indexing enabled. There were also some database changes but that's not really a problem for you.

There were some database changes, which made this a pain.

I first downloaded the full blockchain using 0.15.1.

I looked more into the 0.15.1 documentation and found this:

Downgrading warning
The chainstate database for this release is not compatible with previous releases, so if you run 0.15 and then decide to switch back to any older version, you will need to run the old release with the -reindex-chainstate option to rebuild the chainstate data structures in the old format.

If your node has pruning enabled, this will entail re-downloading and processing the entire blockchain.

Old versions are old, they have known reliability and performance issues. 0.13.2 is vulnerable to DOS attacks (plus potentially other security issues, but I don't recall for sure), and it isn't getting updated for other changes so it will far further behind over time.   I would recommend at a minimum that you setup two nodes-- one on current software, one running your special code-- and make the one with the custom code connect only to the current software.  This way it's shielded from abuse that it might not be able to handle and it's easy for you to upgrade the external node.


As an aside, that address index patch that was floating around gave rare false results for me.  I suspect that it could lose entries when there were reorgs, but I'm not sure if that was the cause or something else.

I was going to run two nodes and had setup the addrindex patched node to run on a VM. Due to some disk constraints (speed, capacity) I ended up deciding I would just run the patched addrindex node and use whitebind and whitelist in my bitcoin.conf so nobody but I can connect. You raised a point about vulnerabilities. Do you think the addrindex node is protected if I use whitebind and whitelist?

Also, what about the incorrect results you saw? What did you see and was it from this version: bitcoin-0.13.2-addrindex?

Thanks
10  Bitcoin / Development & Technical Discussion / Latest bitcoin core? on: February 08, 2018, 06:07:34 PM
I am working on a programming project and there is a version of Bitcoin Core which has functionality I need. Specifically there is a fork of Bitcoin Core v0.13.2 which has address indexing.

The latest version of bitcoin core is 0.15.1 currently so the version I was considering using is a little out of date.

Are there any risks or issues I should be aware of if I was to proceed using the v0.13.2 version?

Thanks
11  Bitcoin / Bitcoin Discussion / Re: US Gov gives cryptocurrency the green light - markets respond with an $83 billio on: February 07, 2018, 06:44:12 PM
This is great, I hope the momentum keeps going. Thanks for sharing.
12  Bitcoin / Bitcoin Discussion / Re: 50 cent on: February 05, 2018, 07:13:31 PM
He came out on top of this one.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!