Bitcoin Forum
June 17, 2024, 08:20:38 AM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Development & Technical Discussion / Re: Perl Private Key -> Public Address on: June 04, 2021, 12:32:32 PM
Anyone? I am sitting here waiting for a reply for the last three years  Grin
2  Bitcoin / Development & Technical Discussion / Re: Get list of all addresses with a balance over x? on: July 12, 2018, 09:23:01 AM
You must take care of waiting a few seconds before copying: bitcoind takes a few seconds to stop & correctly close the database. If you send the kill signal then directly copy the directory, it is possible the database is still marked as open and the leveldb library will refuse to open it, leading to the exception you're hitting. Please add a "sleep 15" after your kill, and check your bitcoind is really down.

If that does not do it, the best I can do is to show the leveldb error message instead of the exception; It would give you an hint. I'll take a look about this tonight.

I have started the bitcoind, waited it to synchronize with network and then stopped via bitcoin-cli stop (this is the correct way as per docs). After a few minutes I copied chainstate and run your software - unfortunately, it still dying with the same error. So it seems like there some problem with leveldb library - maybe it is too old (1.12.0) and incompatible with bitcoin core 0.16.0 database.

Ok I will be waiting and monitoring your git for the version which catches leveldb error.

Thank you for your help. I appreciate it.
3  Bitcoin / Development & Technical Discussion / Re: Get list of all addresses with a balance over x? on: July 12, 2018, 08:50:34 AM
Did you correctly stopped bitcoind before copying the state directory ?

Sure. Here is the script that stops my bitcoind. Is this correct stopping?

Code:
[suser@power ~]$ cat /home/suser/bitcoin-core/.bitcoin/stop.sh
#!/bin/sh
if [ -f /home/suser/bitcoin-core/.bitcoin/bitcoind.pid ]; then
    kill $(cat /home/suser/bitcoin-core/.bitcoin/bitcoind.pid)
fi

I stopped it before copying. I am using bitcoin core 0.16.0

4  Bitcoin / Development & Technical Discussion / Re: Get list of all addresses with a balance over x? on: July 12, 2018, 08:20:20 AM
And this:
Code:
[xuser@power chainstate]$ cat /tmp/cs.errors
chainstate: chainstate.cc:82: int main(int, char**): Assertion `status.ok()' failed.

What am I doing wrong?
Thank you for your help!

Likely, the DB can't be opened for some reason. Did you correctly follow the required steps prior using this program ?

I hope so. I have re-installed it two times from the scratch just now. Re-installed dependencies and even installed it under different user - same result.

Can you please take a look at the install log? Here is it: https://pastebin.com/z7h6sdmD

Anything suspicious? What additional info can I provide you with to identify/fix the problem?

Thank you very much!
5  Bitcoin / Development & Technical Discussion / Re: Get list of all addresses with a balance over x? on: July 12, 2018, 04:37:26 AM
Hello starmyc  Smiley

First of all, thanks for a great software. But I am struggling to get it working.

I am on CentOS 7 (7.5.1804)

You stated earlier in this thread that yum install leveldb-devel will be enough to install LevelDB on my OS but I found that CentOS repos doesn't have that lib, so i searched and found it on epel repo.

Running yum install leveldb-devel installed LevelDB 1.12.0 with headers. Then I installed chainstate with no errors, but when I try to run it I am getting this:

Code:
[xuser@power chainstate]$ time ./chainstate >/tmp/cs.output 2>/tmp/cs.errors
Aborted

real    0m0.024s
user    0m0.014s
sys     0m0.004s

And this:
Code:
[xuser@power chainstate]$ cat /tmp/cs.errors
chainstate: chainstate.cc:82: int main(int, char**): Assertion `status.ok()' failed.

What am I doing wrong?
Thank you for your help!

6  Bitcoin / Development & Technical Discussion / Re: Perl Private Key -> Public Address on: July 08, 2018, 12:48:12 AM
dserrano5, great piece of code, works like a charm. The inline C code based on openssl you provided generates over 1500 pubkeys per second which is 5+ times more than any native Perl implementation of secp256k1 curve.

But it seems there might be significant improvement in speed if the code written using inline C based on libsecp256k1 (#include <secp256k1.h>) library. Unfortunately, I am not familiar with C enough to do that. Can anyone rewrite dserrano5's code to use libsecp256k1 lib to generate compressed/uncompressed pubkeys from private key? It should be working many times faster.

Thanks in advance! Would be glad to donate Smiley

PS: This is kind of an old thread but I think it not worth opening a new one so I decided posting here as here is all the pre-history present. Sorry if I am wrong.

UPD: The code seems to have a memory leak because after running it for 24 hours it takes 37% of memory on my server with 48Gb RAM.
7  Economy / Web Wallets / Re: Can't login to blockchain.info since yesterday, anyone else has same problem? on: October 16, 2017, 08:50:40 AM
Same here. Nine hours since last successful log in. While inspecting the network during login process there is a few HTTP 502 responses. Seems like some blockchain.info's server is down. No any official update on that.

P.S.: Transferred my coins away from BC.I to stay safe  Grin

UPDATE: It works for me now  Wink
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!