campuscoindev / CC

MIT License
5 stars 2 forks source link

Getblocktemplate error #1

Closed kr1z1s closed 1 year ago

kr1z1s commented 5 years ago

Hello Version - "version" : 3000200,

cc-cli getinfo { "version" : 3000200, "protocolversion" : 90011, "walletversion" : 61000, "balance" : 0.00000000, "blocks" : 490646, "totalsupply" : 2000000000.00000000, "timeoffset" : 0, "connections" : 37, "proxy" : "", "difficulty" : 6541.78117203, "testnet" : false, "keypoololdest" : 1550121642, "keypoolsize" : 1001, "paytxfee" : 0.00000000, "relayfee" : 0.00010000, "staking status" : "Staking Not Active", "errors" : "" }

ERROR cc-cli getblocktemplate error: {"code":-7,"message":"Out of memory"}

biddyweb commented 5 years ago

Will look into that.

biddyweb commented 5 years ago

Hi @kr1z1s not able to reproduce this. It seems to work for me. Are you using the official binaries or did you build from source. What OS are your running it on?

kr1z1s commented 5 years ago

I build from source with optimisation

uname -a Linux 4.4.0-128-generic #154-Ubuntu SMP Fri May 25 14:15:18 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

biddyweb commented 5 years ago

I will have to get back to this later. You can try the official binaries they work fine.

kr1z1s commented 5 years ago

I will have to get back to this later. You can try the official binaries they work fine.

CFLAGS="-Ofast -march=native -mtune=native -pipe -fPIE" CXXFLAGS="-Ofast -march=native -mtune=native -pipe -fPIE" LDFLAGS="-Ofast -march=native -mtune=native -pipe -fPIE"

kr1z1s commented 5 years ago

I will have to get back to this later. You can try the official binaries they work fine.

Not a solution. I want to compile with optimization.

biddyweb commented 5 years ago

Let me get back to this later tomorrow.

kr1z1s commented 5 years ago

Let me get back to this later tomorrow.

Official binary

ccd: error while loading shared libraries: libzmq.so.5: cannot open shared object file: No such file or directory libzmq-dev and libzmq1 installed

Create softlink, but other error ccd: error while loading shared libraries: libdb_cxx-4.8.so: cannot open shared object file: No such file or directory

I'll wait for a solution. I will not install the old database.

biddyweb commented 5 years ago

What version of ubuntu are you running?

kr1z1s commented 5 years ago

What version of ubuntu are you running?

Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-128-generic x86_64)

Shinoa-Fores commented 1 year ago

Closing as issue was likely due to misconfigured env. Reopen if observed again.