Bitcoin Forum
June 16, 2024, 08:17:04 PM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Development & Technical Discussion / Re: Get list of all addresses with a balance over x? on: February 20, 2018, 11:17:20 AM

I think I forgot to handle a case: When the chainstate is obfuscated. When it happens, a new record is added to database, hitting the assert condition and making the parsing go wrong.

I added the forgotten feature, but I'm not 100% sure it is ok. So far my tests were OK (for some reason, my main testing bitcoins db was clear of any obfuscation). Could you pull the source again from https://github.com/mycroft/chainstate and rebuild it to try it ? It would be really helpful.


Your new commit made it possible. Thanks. It's working fine now  Smiley

Is anyone insterested in downloading the CSV file? I can upload it to internet if anyone is insterested.
2  Bitcoin / Development & Technical Discussion / Re: Get list of all addresses with a balance over x? on: February 19, 2018, 01:25:32 PM
Thanks a bunch! That made it!

Now, I've made a copy of ~/.bitcoin/chainstate dir, and move it to the path where i've compiled your program (~/development/chainstate):

$ cp -rp ~/.bitcoin/chainstate ~/development/chainstate/state

But now I'm getting:

user@localhost:~/Deveopment/chainstate $ ./chainstate
chainstate: chainstate.cc:45: int main(): Assertion `idx[0] == 'C'' failed.


Which is weird because if I add the following line before and comment the assertion like this:

~  45         cout << "DBG: "<<idx[0] << " \n";                               
+  46         //assert(idx[0] == 'C');


Then I get lines like:

user@localhost:~/Deveopment/chainstate $ ./chainstate
DBG: 
Invalid output: 79656b5f65746163737566626f00 38c006 30080738760000
79656b5f65746163737566626f00;Invalid address or lost;30080738760000
last block: 06c03835a99fece306e4e25c7c7c7c34747a2ee3a3b177156a93b2ecdf7fd9a3
DBG: C
Invalid output: eacfdcd42b27112ab6c8b435abec20181d05b0ba5d4f1829c002cc3ef0000000 9729b525c0f657759ad3c11de5e525c596843cc30b84b975b5 4
eacfdcd42b27112ab6c8b435abec20181d05b0ba5d4f1829c002cc3ef0000000;Invalid address or lost;4
DBG: C
Invalid output: a59f2e72830363c38a438d12236a15d1ca3074ce980873bd7f3a1699f7010000 d139db52c05d8a0fb4bf2cc101c3916250098c52d03799b092 10000000000
a59f2e72830363c38a438d12236a15d1ca3074ce980873bd7f3a1699f7010000;Invalid address or lost;10000000000
DBG: C
Invalid output: 0118dd986e59473732239d39cb3b8890bf32677719dd8933b05f6614f4020000 83211539cb2ce3daeded5d37ada7692119b33dc8689a5058 1000000
0118dd986e59473732239d39cb3b8890bf32677719dd8933b05f6614f4020000;Invalid address or lost;1000000
DBG: C


What could it be?
3  Bitcoin / Development & Technical Discussion / Re: Get list of all addresses with a balance over x? on: February 19, 2018, 08:53:09 AM
Hi everyone,

I've opensourced a small software to parse the chainstate & output all utxos with their addresses (including latest bech32) in CSV format. As for today, computation takes ~8 minutes & creates a 6 GB CSV file (there is 60M utxos).
Feel free to give it a try: https://github.com/mycroft/chainstate

Would you mind uploading that CSV file? It contains all addresses, even with no balance, right?
I've alredy tried to compile your code but I'm getting errors related to gmp library. If you can upload that I wouldn't mind reuploading to my own http server so it can be accessed to others.
4  Local / Español (Spanish) / Re: Proyecto para recuperar 42000 Direcciones btc Durmientes - Zombie Address on: January 18, 2018, 08:28:29 AM
A pesar de que no tengo ningun motivo para desconfiar del creador de este post os recomiendo encarecidamente no instalar nada en vuestros equipos. De hecho considero mucho mas probable que esta persona este metiendo codigo oculto que por ejemplo buscara vuestos wallet.dat en vuestros equipos antes que pudiera encontrar claves privadas con fondos durmientes.

La idea, sin que se ofenda OP, es una tonteria de proyecto, y si sabe lo que se hace, él lo sabe. Hay cerca de 2^256 direcciones privadas posibles, o 10^77 en decimal, y para que compareis se estima que en el universo visible existen unos 10^80 atomos. (*)

Dicho de otra forma, si este programa pudiera trabajar a la velocidad actual de comprobacion global de hashes de bitcoin (19*10^18hashes/s), buscando en cualquiera de las 20millones de direcciones con al menos $1, tardaría "sólo" 169233372821120324928075816551023861905567777965814.858690134 años en encontrar al menos una direccion con fondos...

Por lo que repito:
No instaleis programas en los equipos que tengais carteras de bitcoins o informacion privada de minima importancia.


* Extraido de Mastering Bitcoin - Programming the Open Blockchain 2Ed. Pag 59 https://github.com/bitcoinbook/bitcoinbook

Edito: Añadir calculos de tiempo hasta encontrar una cartera con fondos
5  Bitcoin / Project Development / Feedback in bitcoin related project: donation button using xpub master public on: November 16, 2017, 08:45:07 AM
Hi there,
I'm thinking in creating a website to create your own bitcoin donation button that you can emdeb in your website.  But using severals bitcoin addresses which are rotated to avoid people knowing how much money is being donated. That can be solved by the user using BIP32 HD wallet addresses generation with some custom code in the backend user server, but that's too complicated for the average user. Would be easier to just throw some predefined html code, and that the user receives payments in their wallet.

USAGE DESCRIPTION
So my idea would be that the user can enter his master public key in my website, then it creates a HTML code to be embeded in the user website. That code, communicating with my website, creates an unique address for each donation or payment visible in the user website.
NOTE: Remember that the master public key allow to generate addresses of the user, but not the private keys.

SIMILAR SERVICES
Similar services which I've found so far are:
- http://coinwidget.com/ which uses javascript but it only allow one address. No HD wallet, so anybody know how much money you have made.
- gear.mycelium.com Mostly similar, but it only gives you a link like http://admin.gear.mycelium.com/gateways/3568/orders/new, so no address is visible in your website, no button unless you make your own. It goes to another website to make the payment. No API to generate custom buttons. Only accepts xpub master public key, no ypub or zpub.

REQUEST FOR COMMENTS
So want I would like to hear is is worth to be made or just a silly idea.

MOTIVATION OF THE PROJECT
Mainly entertaiment, program for joy, and give back to the bitcoin community (if is worth it). But I don't want to spend a bunch of hours to make something that would be used for just Joe and Rita (not really usefull).
6  Local / España / [VENDIDO]Rig 4 GPU RX 580 8GB NITRO+ @Madrid on: October 09, 2017, 06:25:58 PM
YA ESTA VENDIDO  Grin

Rig minero mining para minar zcash, ethereum, monero, y otras criptomonedas. Optimizado, silencioso y bajo consumo.

Tiene 4 gráficas AMD saphire radeon RX 580 nitro + de 8GB. Fuente de 1000w. Optimizado para consumo minimo. Chasis de metal hecho a medida. Regalo 2 riser adicionales por si quieres poner otras dos GPUs. Wifi, HDD 2.5", placa ASRock h81 pro btc. Monero 2870H/s@430w, ETH 112MH/s@~580w. Se puede subir aun más los MHs a costa del consumo.

No incluye monitor, teclado. Preferible entrega en persona. Acepto pago en BTC. Zona Madrid







Actualización: se me ha olvidado indicar el precio  Roll Eyes

PRECIO: 1550€ o 0.33BTC (según el precio del BTC a dia de hoy)
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!