Author

Topic: Blocks not created issue getblocks -1 (Read 168 times)

legendary
Activity: 4256
Merit: 1313
March 02, 2018, 09:48:09 AM
#2
What version of lite coin did you fork?  8.7.4?  How long have you let them run?

And you should probably move this elsewhere (from the Bitcoin -> Dev & Tech) since this is about an alt-coin and not bitcoin.
newbie
Activity: 27
Merit: 0
March 02, 2018, 02:33:57 AM
#1
Hello,

I have created new coin (new Genesis block hash and merkle hash created ) from old coin based on Lite coin, Running coin on Digital Ocean
droplets 2 DNS seed nodes.  Each IP pointing to each other, it able to communicate (On 2 droplets).

getblocks -1 to 0000000000000000000000000000000000000000000000000000000000000000 limit 500

Code:
bitcoinl@ubuntu-s-1vcpu-1gb-tor1-01:~/coin/src$ ./coind  getinfo
{
    "version" : 80704,
    "protocolversion" : 70002,
    "walletversion" : 60000,
    "balance" : 0.00000000,
    "blocks" : 0,
    "timeoffset" : 0,
    "connections" : 2,
    "proxy" : "",
    "difficulty" : 0.00024414,
    "testnet" : false,
    "keypoololdest" : 1519961918,
    "keypoolsize" : 101,
    "paytxfee" : 0.00000000,
    "mininput" : 0.00001000,
    "errors" : ""
}
bitcoinl@ubuntu-s-1vcpu-1gb-tor1-01:~/coin/src$ ./coind  stagemetadata true
error: {"code":-32601,"message":"Method not found"}

debug.log file
[code]2018-03-02 03:43:17 coin version v0.8.7.4-gc1e46ab-beta ()
2018-03-02 03:43:17 Using OpenSSL version OpenSSL 1.0.1f 6 Jan 2014
2018-03-02 03:43:17 Default data directory /home/bitcoinl/.coin
2018-03-02 03:43:17 Using data directory /home/bitcoinl/.coin
2018-03-02 03:43:17 Using at most 125 connections (1024 file descriptors available)
2018-03-02 03:43:17 init message: Verifying wallet...
2018-03-02 03:43:17 dbenv.open LogDir=/home/bitcoinl/.BitcoinLove/database ErrorFile=/home/bitcoinl/.BitcoinLove/db.log
2018-03-02 03:43:17 Bound to [::]:9333
2018-03-02 03:43:17 Bound to 0.0.0.0:9333
2018-03-02 03:43:17 init message: Loading block index...
2018-03-02 03:43:17 Opening LevelDB in /home/bitcoinl/.BitcoinLove/blocks/index
2018-03-02 03:43:17 Opened LevelDB successfully
2018-03-02 03:43:17 Opening LevelDB in /home/bitcoinl/.BitcoinLove/chainstate
2018-03-02 03:43:17 Opened LevelDB successfully
2018-03-02 03:43:17 LoadBlockIndexDB(): last block file = 0
2018-03-02 03:43:17 LoadBlockIndexDB(): last block file info: CBlockFileInfo(blocks=1, size=243, heights=0...0, time=2018-02-15...2018-02-15)
2018-03-02 03:43:17 LoadBlockIndexDB(): transaction index disabled
2018-03-02 03:43:17 LoadBlockIndexDB(): hashBestChain=ce65c507fe3980e7f62a14f2982d877b44fce9767e7d863790838e4419101468  height=0 date=2018-02-15 10:40:20
2018-03-02 03:43:17 init message: Verifying blocks...
2018-03-02 03:43:17  block index               7ms
2018-03-02 03:43:17 init message: Loading wallet...
2018-03-02 03:43:17 nFileVersion = 80704
2018-03-02 03:43:17  wallet                  393ms
2018-03-02 03:43:17 init message: Loading addresses...
2018-03-02 03:43:17 Loaded 1 addresses from peers.dat  0ms
2018-03-02 03:43:17 mapBlockIndex.size() = 1
2018-03-02 03:43:17 nBestHeight = 0
2018-03-02 03:43:17 setKeyPool.size() = 100
2018-03-02 03:43:17 mapWallet.size() = 0
2018-03-02 03:43:17 mapAddressBook.size() = 1
2018-03-02 03:43:17 AddLocal(165.227.37.231:9333,1)
2018-03-02 03:43:17 IPv4 eth0: 165.227.37.231
2018-03-02 03:43:17 init message: Done loading
2018-03-02 03:43:17 msghand thread start
2018-03-02 03:43:17 dumpaddr thread start
2018-03-02 03:43:17 opencon thread start
2018-03-02 03:43:17 addcon thread start
2018-03-02 03:43:17 net thread start
2018-03-02 03:43:17 accepted connection 159.203.57.168:41179
2018-03-02 03:43:17 dnsseed thread start
2018-03-02 03:43:17 Loading addresses from DNS seeds (could take a while)
2018-03-02 03:43:17 1 addresses found from DNS seeds
2018-03-02 03:43:17 dnsseed thread exit
2018-03-02 03:43:17 send version message: version 70002, blocks=0, us=165.227.37.231:9333, them=159.203.57.168:41179, peer=159.203.57.168:41179
2018-03-02 03:43:17 Added time data, samples 2, offset +0 (+0 minutes)
2018-03-02 03:43:17 Moving 159.203.57.168:9333 to tried
2018-03-02 03:43:17 receive version message: /Satoshi:0.8.7.4/: version 70002, blocks=0, us=165.227.37.231:9333, them=159.203.57.168:9333, peer=159.203.57.168:41179
2018-03-02 03:43:17 getblocks -1 to 0000000000000000000000000000000000000000000000000000000000000000 limit 500
2018-03-02 03:43:19 GetMyExternalIP() received [165.227.37.231] 165.227.37.231:0
2018-03-02 03:43:19 GetMyExternalIP() returned 165.227.37.231
2018-03-02 03:43:19 AddLocal(165.227.37.231:9333,4)
2018-03-02 03:43:20 Added 1 addresses from 159.203.57.168: 1 tried, 1 new
2018-03-02 03:43:20 trying connection 138.197.129.169:9333 lastseen=2.0hrs
2018-03-02 03:43:20 connected 138.197.129.169:9333
2018-03-02 03:43:20 send version message: version 70002, blocks=0, us=165.227.37.231:9333, them=138.197.129.169:9333, peer=138.197.129.169:9333
2018-03-02 03:43:20 Added time data, samples 3, offset -3 (+0 minutes)
2018-03-02 03:43:20 Moving 138.197.129.169:9333 to tried
2018-03-02 03:43:20 receive version message: /Satoshi:0.8.7.4/: version 70002, blocks=0, us=165.227.37.231:33845, them=138.197.129.169:9333, peer=138.197.129.169:9333
2018-03-02 03:58:17 Flushed 2 addresses to peers.dat  1ms
2018-03-02 04:09:23 ResendWalletTransactions()
2018-03-02 04:13:17 Flushed 2 addresses to peers.dat  2ms
2018-03-02 04:28:17 Flushed 2 addresses to peers.dat  1ms
2018-03-02 04:43:17 Flushed 2 addresses to peers.dat  1ms
2018-03-02 04:58:17 Flushed 2 addresses to peers.dat  1ms
2018-03-02 05:13:17 Flushed 2 addresses to peers.dat  1ms
2018-03-02 05:28:17 Flushed 2 addresses to peers.dat  2ms
2018-03-02 05:43:17 Flushed 2 addresses to peers.dat  1ms
2018-03-02 05:58:17 Flushed 2 addresses to peers.dat  1ms
2018-03-02 06:13:17 Flushed 2 addresses to peers.dat  2ms
2018-03-02 06:28:17 Flushed 2 addresses to peers.dat  1ms

[/code]

How to solve this.
Answers Appreciated.
Jump to: