Author

Topic: Mining my own coin... help needed (Read 322 times)

full member
Activity: 615
Merit: 154
CEO of Metaisland.gg and W.O.K Corp
February 03, 2022, 07:05:07 AM
#3
The problem is that you need to remove some security tests in the C++ code that are preventing the genesis to save.
Mostly in validation.cpp
I have posted the solution with a step by step in these forums somewhere. Check it out!

Sorry for rehashing a thread from years ago but I'm facing a very similar problem. Did you ever find the solution? If yes, do you remember it and would you be willing to share it?

Thanks in advance! Smiley
newbie
Activity: 14
Merit: 0
February 03, 2022, 05:45:31 AM
#2
Sorry for rehashing a thread from years ago but I'm facing a very similar problem. Did you ever find the solution? If yes, do you remember it and would you be willing to share it?

Thanks in advance! Smiley
full member
Activity: 615
Merit: 154
CEO of Metaisland.gg and W.O.K Corp
November 27, 2018, 11:07:06 AM
#1
There are some Mining guru here and I am stuck in the development of my coin, I request some help to get my coin started.

I am using ccminer to mine my own coin with Yiimp. I have setup everything and everything seems to work except that I get a lot of errors and it won't mine.

My coin is virgin, that mean it has never been mined or had any transaction. I have 4 peer connected, I have set the difficulty to 1, my coin is a fork of Bitcoin Core 0.17.0.1, RPC port is 1790, main port is 1789

Mining address was created like this:

Code:
 ./bitcoin-cli getnewaddress
39EW2oTxKPySHFHfpSr6tQTskxeTYoDqAY


Here are the errors from ccminer
Code:
[2018-11-27 23:17:45] Starting on stratum+tcp://pool.kryptofranc.net:3333
[2018-11-27 23:17:45] NVML GPU monitoring enabled.
[2018-11-27 23:17:45] NVAPI GPU monitoring enabled.
[2018-11-27 23:17:45] 1 miner thread started, using 'sha256d' algorithm.
[2018-11-27 23:17:45] Stratum authentication failed
[2018-11-27 23:17:45] ...retry after 30 seconds
[2018-11-27 23:18:16] Stratum authentication failed
[2018-11-27 23:18:16] ...retry after 30 seconds
[2018-11-27 23:18:47] Stratum authentication failed
[2018-11-27 23:18:47] ...retry after 30 seconds

Here are the error from stratum:

Code:
oot@Ubuntu-1804-bionic-64-minimal /var/stratum # ./run.sh sha
23:17:28: 2018-11-27 starting stratum for sha256 on pool.kryptofranc.net:3333
23:17:29: connecting to coind KYF
23:17:29: Kryptofranc wallet 39EW2oTxKPySHFHfpSr6tQTskxeTYoDqAY is not mine.
23:17:29: ERROR: rpc_do_call: 127.0.0.1:1790 500
23:17:29: ERROR getaccountaddress Kryptofranc
23:17:29: ERROR: rpc_do_call: 127.0.0.1:1790 500
23:17:29: Kryptofranc error getblocktemplate result
2018-11-27 23:17:47 [125.27.131.165] 39EW2oTxKPySHFHfpSr6tQTskxeTYoDqAY, sha256, bad mining address 39EW2oTxKPySHFHfpSr6tQTskxeTYoDqAY
23:17:51: ERROR: rpc_do_call: 127.0.0.1:1790 500
23:17:51: Kryptofranc error getblocktemplate result
23:18:12: connecting to coind KYF
23:18:12: Kryptofranc wallet 39EW2oTxKPySHFHfpSr6tQTskxeTYoDqAY is not mine.
23:18:12: ERROR: rpc_do_call: 127.0.0.1:1790 500
23:18:12: ERROR getaccountaddress Kryptofranc
23:18:12: ERROR: rpc_do_call: 127.0.0.1:1790 500
23:18:12: Kryptofranc error getblocktemplate result


Here are the debug from the daemon

Code:
2018-11-27T16:00:14Z Kryptofranc Core version v0.17.0.1-7bb890f5c (release build)
2018-11-27T16:00:14Z InitParameterInteraction: parameter interaction: -whitelistforcerelay=1 -> setting -whitelistrelay=1
2018-11-27T16:00:14Z Validating signatures for all blocks.
2018-11-27T16:00:14Z Setting nMinimumChainWork=0000000000000000000000000000000000000000000000000000000000000000
2018-11-27T16:00:14Z Using the 'sse4(1way),sse41(4way),avx2(8way)' SHA256 implementation
2018-11-27T16:00:14Z Using RdRand as an additional entropy source
2018-11-27T16:00:14Z Default data directory /root/.kryptofranc
2018-11-27T16:00:14Z Using data directory /root/.kryptofranc
2018-11-27T16:00:14Z Using config file /root/.kryptofranc/kryptofranc.conf
2018-11-27T16:00:14Z Using at most 1 automatic connections (1024 file descriptors available)
2018-11-27T16:00:14Z Using 16 MiB out of 32/2 requested for signature cache, able to store 524288 elements
2018-11-27T16:00:14Z Using 16 MiB out of 32/2 requested for script execution cache, able to store 524288 elements
2018-11-27T16:00:14Z Using 8 threads for script verification
2018-11-27T16:00:14Z scheduler thread start
2018-11-27T16:00:14Z Allowing HTTP connections from: 127.0.0.0/8 ::1/128 127.0.0.1/32
2018-11-27T16:00:14Z libevent: event_add: event: 0x55f57bd839a0 (fd 8), EV_READ    call 0x7ff330a32980
2018-11-27T16:00:14Z libevent: Epoll ADD(1) on fd 8 okay. Old events were 0; read change was 1 (add); write change was 0 (none); close change was 0 (none)
2018-11-27T16:00:14Z Binding RPC on address :: port 1790
2018-11-27T16:00:14Z libevent: event_add: event: 0x55f57bd84698 (fd 9), EV_READ    call 0x7ff330a400d0
2018-11-27T16:00:14Z libevent: Epoll ADD(1) on fd 9 okay. Old events were 0; read change was 1 (add); write change was 0 (none); close change was 0 (none)
2018-11-27T16:00:14Z libevent: Bound to port 1790 - Awaiting connections ...
2018-11-27T16:00:14Z Binding RPC on address 0.0.0.0 port 1790
2018-11-27T16:00:14Z Binding RPC on address 0.0.0.0 port 1790 failed.
2018-11-27T16:00:14Z Initialized HTTP server
2018-11-27T16:00:14Z HTTP: creating work queue of depth 16
2018-11-27T16:00:14Z Starting RPC
2018-11-27T16:00:14Z Starting HTTP RPC server
2018-11-27T16:00:14Z Config options rpcuser and rpcpassword will soon be deprecated. Locally-run instances may remove rpcuser to use cookie-based auth, or may be replaced with rpcauth. Please see share/rpcauth for rpcauth auth generation.
2018-11-27T16:00:14Z Registering HTTP handler for / (exactmatch 1)
2018-11-27T16:00:14Z Registering HTTP handler for /wallet/ (exactmatch 0)
2018-11-27T16:00:14Z Starting HTTP server
2018-11-27T16:00:14Z HTTP: starting 1 worker threads
2018-11-27T16:00:14Z Entering http event loop
2018-11-27T16:00:14Z Using wallet directory /root/.kryptofranc/wallets
2018-11-27T16:00:14Z init message: Verifying wallet(s)...
2018-11-27T16:00:14Z Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010)
2018-11-27T16:00:14Z Using wallet wallet.dat
2018-11-27T16:00:14Z BerkeleyEnvironment::Open: LogDir=/root/.kryptofranc/wallets/database ErrorFile=/root/.kryptofranc/wallets/db.log
2018-11-27T16:00:14Z net: setting try another outbound peer=false
2018-11-27T16:00:14Z Cache configuration:
2018-11-27T16:00:14Z * Using 2.0MiB for block index database
2018-11-27T16:00:14Z * Using 8.0MiB for chain state database
2018-11-27T16:00:14Z * Using 440.0MiB for in-memory UTXO set (plus up to 286.1MiB of unused mempool space)
2018-11-27T16:00:14Z init message: Loading block index...
2018-11-27T16:00:14Z LevelDB using max_open_files=1000 (default=1000)
2018-11-27T16:00:14Z Opening LevelDB in /root/.kryptofranc/blocks/index
2018-11-27T16:00:14Z leveldb: Recovering log #41
2018-11-27T16:00:14Z leveldb: Level-0 table #44: started
2018-11-27T16:00:14Z leveldb: Level-0 table #44: 207 bytes OK
2018-11-27T16:00:14Z leveldb: Delete type=3 #39
2018-11-27T16:00:14Z leveldb: Delete type=0 #41
2018-11-27T16:00:14Z Opened LevelDB successfully
2018-11-27T16:00:14Z Using obfuscation key for /root/.kryptofranc/blocks/index: 0000000000000000
2018-11-27T16:00:14Z LoadBlockIndexDB: last block file = 0
2018-11-27T16:00:14Z LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=1, size=310, heights=0...0, time=2018-11-05...2018-11-05)
2018-11-27T16:00:14Z Checking all blk files are present...
2018-11-27T16:00:14Z LevelDB using max_open_files=1000 (default=1000)
2018-11-27T16:00:14Z Opening LevelDB in /root/.kryptofranc/chainstate
2018-11-27T16:00:14Z leveldb: Recovering log #41
2018-11-27T16:00:14Z leveldb: Level-0 table #44: started
2018-11-27T16:00:14Z leveldb: Level-0 table #44: 597 bytes OK
2018-11-27T16:00:15Z leveldb: Delete type=3 #39
2018-11-27T16:00:15Z leveldb: Delete type=0 #41
2018-11-27T16:00:15Z Opened LevelDB successfully
2018-11-27T16:00:15Z Using obfuscation key for /root/.kryptofranc/chainstate: c96c16ccc3f16742
2018-11-27T16:00:15Z Loaded best chain: hashBestChain=0000000080f4f927283ede64c9f58eb8cc381cd0292e3e339862f2aef8f91465 height=0 date=2018-11-05T02:34:02Z progress=1.000000
2018-11-27T16:00:15Z init message: Rewinding blocks...
2018-11-27T16:00:15Z WriteBatch memory usage: db=index, before=0.0MiB, after=0.0MiB
2018-11-27T16:00:15Z Writing final batch of 0.00 MiB
2018-11-27T16:00:15Z WriteBatch memory usage: db=chainstate, before=0.0MiB, after=0.0MiB
2018-11-27T16:00:15Z Committed 0 changed transaction outputs (out of 0) to coin database...
2018-11-27T16:00:15Z init message: Verifying blocks...
2018-11-27T16:00:15Z  block index             340ms
2018-11-27T16:00:15Z Reading estimates: 190 buckets counting confirms up to 48 blocks
2018-11-27T16:00:15Z Reading estimates: 190 buckets counting confirms up to 12 blocks
2018-11-27T16:00:15Z Reading estimates: 190 buckets counting confirms up to 1008 blocks
2018-11-27T16:00:15Z init message: Loading wallet...
2018-11-27T16:00:15Z [default wallet] nFileVersion = 170001
2018-11-27T16:00:15Z [default wallet] Keys: 2003 plaintext, 0 encrypted, 2003 w/ metadata, 2003 total. Unknown wallet records: 1
2018-11-27T16:00:15Z [default wallet] Wallet completed loading in             102ms
2018-11-27T16:00:15Z [default wallet] setKeyPool.size() = 2000
2018-11-27T16:00:15Z [default wallet] mapWallet.size() = 0
2018-11-27T16:00:15Z [default wallet] mapAddressBook.size() = 2
2018-11-27T16:00:15Z mapBlockIndex.size() = 1
2018-11-27T16:00:15Z nBestHeight = 0
2018-11-27T16:00:15Z libevent: event_add: event: 0x55f57c876400 (fd 24), EV_READ    call 0x7ff330a32980
2018-11-27T16:00:15Z libevent: Epoll ADD(1) on fd 24 okay. Old events were 0; read change was 1 (add); write change was 0 (none); close change was 0 (none)
2018-11-27T16:00:15Z Imported mempool transactions from disk: 0 succeeded, 0 failed, 0 expired, 0 already there
2018-11-27T16:00:15Z torcontrol thread start
2018-11-27T16:00:15Z AddLocal(95.216.7.106:1789,1)
2018-11-27T16:00:15Z libevent: event_add: event: 0x7ff2f0001080 (fd -1), EV_READ    call 0x7ff330a31d40
2018-11-27T16:00:15Z Discover: IPv4 enp2s0: 95.216.7.106
2018-11-27T16:00:15Z libevent: event_add: event: 0x7ff2f0001100 (fd -1),  EV_WRITE   call 0x7ff330a31920
2018-11-27T16:00:15Z AddLocal([2a01:4f9:2a:795::2]:1789,1)
2018-11-27T16:00:15Z Discover: IPv6 enp2s0: 2a01:4f9:2a:795::2
2018-11-27T16:00:15Z Bound to [::]:1789
2018-11-27T16:00:15Z libevent: event_del: 0x7ff2f0001080 (fd -1), callback 0x7ff330a31d40
2018-11-27T16:00:15Z Bound to 0.0.0.0:1789
2018-11-27T16:00:15Z libevent: event_del: 0x7ff2f0001100 (fd -1), callback 0x7ff330a31920
2018-11-27T16:00:15Z init message: Loading P2P addresses...
2018-11-27T16:00:15Z libevent: event_add: event: 0x7ff2f0001080 (fd 25), EV_READ    call 0x7ff330a31d40
2018-11-27T16:00:15Z libevent: Epoll ADD(1) on fd 25 okay. Old events were 0; read change was 1 (add); write change was 0 (none); close change was 0 (none)
2018-11-27T16:00:15Z libevent: event_add: event: 0x7ff2f0001100 (fd 25),  EV_WRITE   call 0x7ff330a31920
2018-11-27T16:00:15Z libevent: Epoll MOD(5) on fd 25 okay. Old events were 2; read change was 0 (none); write change was 1 (add); close change was 0 (none)
2018-11-27T16:00:15Z libevent: event_add: event: 0x7ff2f0001100 (fd 25),  EV_WRITE   call 0x7ff330a31920
2018-11-27T16:00:15Z libevent: epoll_dispatch: epoll_wait reports 1
2018-11-27T16:00:15Z libevent: event_active: 0x7ff2f0001100 (fd 25), res 4, callback 0x7ff330a31920
2018-11-27T16:00:15Z libevent: event_active: 0x7ff2f0001080 (fd 25), res 2, callback 0x7ff330a31d40
2018-11-27T16:00:15Z libevent: event_process_active: event: 0x7ff2f0001100,  EV_WRITE  call 0x7ff330a31920
2018-11-27T16:00:15Z libevent: event_del: 0x7ff2f0001100 (fd 25), callback 0x7ff330a31920
2018-11-27T16:00:15Z libevent: Epoll MOD(1) on fd 25 okay. Old events were 6; read change was 0 (none); write change was 2 (del); close change was 0 (none)
2018-11-27T16:00:15Z libevent: event_del: 0x7ff2f0001080 (fd 25), callback 0x7ff330a31d40
2018-11-27T16:00:15Z libevent: Epoll DEL(1) on fd 25 okay. Old events were 2; read change was 2 (del); write change was 0 (none); close change was 0 (none)
2018-11-27T16:00:15Z tor: Error connecting to Tor control socket
2018-11-27T16:00:15Z tor: Not connected to Tor control port 127.0.0.1:9051, trying to reconnect
2018-11-27T16:00:15Z libevent: event_add: event: 0x7ff2f0000fa0 (fd -1),    EV_TIMEOUT call 0x55f57a03ca70
2018-11-27T16:00:15Z libevent: event_add: event 0x7ff2f0000fa0, timeout in 1 seconds 0 useconds, call 0x55f57a03ca70
2018-11-27T16:00:15Z Loaded 5 addresses from peers.dat  0ms
2018-11-27T16:00:15Z libevent: event_callback_finalize_many_: 3 events finalizing
2018-11-27T16:00:15Z init message: Loading banlist...
2018-11-27T16:00:15Z libevent: event_del: 0x7ff2f0001080 (fd 25), callback 0x7ff330a31d40
2018-11-27T16:00:15Z libevent: event_del: 0x7ff2f0001100 (fd 25), callback 0x7ff330a31920
2018-11-27T16:00:15Z libevent: event_process_active: event: 0x7ff2f0001100,  EV_WRITE  call 0x7ff330a2db20
2018-11-27T16:00:15Z Loaded 0 banned node ips/subnets from banlist.dat  0ms
2018-11-27T16:00:15Z init message: Starting network threads...
2018-11-27T16:00:15Z libevent: timeout_next: event: 0x7ff2f0000fa0, in 1 seconds, 0 useconds
2018-11-27T16:00:15Z net thread start
2018-11-27T16:00:15Z dnsseed thread start
2018-11-27T16:00:15Z addcon thread start
2018-11-27T16:00:15Z init message: Done loading
2018-11-27T16:00:15Z msghand thread start
2018-11-27T16:00:15Z opencon thread start
2018-11-27T16:00:16Z libevent: epoll_dispatch: epoll_wait reports 0
2018-11-27T16:00:16Z libevent: event_del: 0x7ff2f0000fa0 (fd -1), callback 0x55f57a03ca70
2018-11-27T16:00:16Z libevent: timeout_process: event: 0x7ff2f0000fa0, call 0x55f57a03ca70
2018-11-27T16:00:16Z libevent: event_active: 0x7ff2f0000fa0 (fd -1), res 1, callback 0x55f57a03ca70
2018-11-27T16:00:16Z libevent: event_del: 0x7ff2f0000fa0 (fd -1), callback 0x55f57a03ca70
2018-11-27T16:00:16Z libevent: event_process_active: event: 0x7ff2f0000fa0,    call 0x55f57a03ca70
2018-11-27T16:00:16Z libevent: event_add: event: 0x7ff2f0001e40 (fd -1), EV_READ    call 0x7ff330a31d40
2018-11-27T16:00:16Z libevent: event_add: event: 0x7ff2f0001ec0 (fd -1),  EV_WRITE   call 0x7ff330a31920
2018-11-27T16:00:16Z libevent: event_del: 0x7ff2f0001e40 (fd -1), callback 0x7ff330a31d40
2018-11-27T16:00:16Z libevent: event_del: 0x7ff2f0001ec0 (fd -1), callback 0x7ff330a31920
2018-11-27T16:00:16Z libevent: event_add: event: 0x7ff2f0001e40 (fd 18), EV_READ    call 0x7ff330a31d40
2018-11-27T16:00:16Z libevent: Epoll ADD(1) on fd 18 okay. Old events were 0; read change was 1 (add); write change was 0 (none); close change was 0 (none)
2018-11-27T16:00:16Z libevent: event_add: event: 0x7ff2f0001ec0 (fd 18),  EV_WRITE   call 0x7ff330a31920
2018-11-27T16:00:16Z libevent: Epoll MOD(5) on fd 18 okay. Old events were 2; read change was 0 (none); write change was 1 (add); close change was 0 (none)
2018-11-27T16:00:16Z libevent: event_add: event: 0x7ff2f0001ec0 (fd 18),  EV_WRITE   call 0x7ff330a31920
2018-11-27T16:00:16Z libevent: epoll_dispatch: epoll_wait reports 1
2018-11-27T16:00:16Z libevent: event_active: 0x7ff2f0001ec0 (fd 18), res 4, callback 0x7ff330a31920
2018-11-27T16:00:16Z libevent: event_active: 0x7ff2f0001e40 (fd 18), res 2, callback 0x7ff330a31d40
2018-11-27T16:00:16Z libevent: event_process_active: event: 0x7ff2f0001ec0,  EV_WRITE  call 0x7ff330a31920
2018-11-27T16:00:16Z libevent: event_del: 0x7ff2f0001ec0 (fd 18), callback 0x7ff330a31920
2018-11-27T16:00:16Z libevent: Epoll MOD(1) on fd 18 okay. Old events were 6; read change was 0 (none); write change was 2 (del); close change was 0 (none)
2018-11-27T16:00:16Z libevent: event_del: 0x7ff2f0001e40 (fd 18), callback 0x7ff330a31d40
2018-11-27T16:00:16Z libevent: Epoll DEL(1) on fd 18 okay. Old events were 2; read change was 2 (del); write change was 0 (none); close change was 0 (none)
2018-11-27T16:00:16Z tor: Error connecting to Tor control socket
2018-11-27T16:00:16Z tor: Not connected to Tor control port 127.0.0.1:9051, trying to reconnect
2018-11-27T16:00:16Z libevent: event_add: event: 0x7ff2f0000fa0 (fd -1),    EV_TIMEOUT call 0x55f57a03ca70
2018-11-27T16:00:16Z libevent: event_add: event 0x7ff2f0000fa0, timeout in 1 seconds 500000 useconds, call 0x55f57a03ca70
2018-11-27T16:00:16Z trying connection 178.63.85.204:1789 lastseen=0.5hrs
2018-11-27T16:00:16Z libevent: event_callback_finalize_many_: 3 events finalizing
2018-11-27T16:00:16Z libevent: event_del: 0x7ff2f0001e40 (fd 18), callback 0x7ff330a31d40
2018-11-27T16:00:16Z libevent: event_del: 0x7ff2f0001ec0 (fd 18), callback 0x7ff330a31920
2018-11-27T16:00:16Z libevent: event_process_active: event: 0x7ff2f0001ec0,  EV_WRITE  call 0x7ff330a2db20
2018-11-27T16:00:16Z libevent: timeout_next: event: 0x7ff2f0000fa0, in 1 seconds, 500000 useconds
2018-11-27T16:00:16Z Added connection peer=0
2018-11-27T16:00:16Z sending version (104 bytes) peer=0
2018-11-27T16:00:16Z send version message: version 70015, blocks=0, us=[::]:0, peer=0
2018-11-27T16:00:16Z received: version (104 bytes) peer=0
2018-11-27T16:00:16Z sending verack (0 bytes) peer=0
2018-11-27T16:00:16Z sending getaddr (0 bytes) peer=0
2018-11-27T16:00:16Z receive version message: /Satoshi:0.17.0.1/: version 70015, blocks=0, us=95.216.7.106:51084, peer=0
2018-11-27T16:00:16Z added time data, samples 2, offset +0 (+0 minutes)
2018-11-27T16:00:16Z received: verack (0 bytes) peer=0
2018-11-27T16:00:16Z New outbound peer connected: version: 70015, blocks=0, peer=0
2018-11-27T16:00:16Z sending sendheaders (0 bytes) peer=0
2018-11-27T16:00:16Z sending sendcmpct (9 bytes) peer=0
2018-11-27T16:00:16Z sending sendcmpct (9 bytes) peer=0
2018-11-27T16:00:16Z sending ping (8 bytes) peer=0
2018-11-27T16:00:16Z initial getheaders (0) to peer=0 (startheight:0)
2018-11-27T16:00:16Z sending getheaders (69 bytes) peer=0
2018-11-27T16:00:16Z sending feefilter (8 bytes) peer=0
2018-11-27T16:00:16Z received: sendheaders (0 bytes) peer=0
2018-11-27T16:00:16Z received: sendcmpct (9 bytes) peer=0
2018-11-27T16:00:16Z received: sendcmpct (9 bytes) peer=0
2018-11-27T16:00:16Z received: ping (8 bytes) peer=0
2018-11-27T16:00:16Z sending pong (8 bytes) peer=0
2018-11-27T16:00:16Z received: feefilter (8 bytes) peer=0
2018-11-27T16:00:16Z received: feefilter of 0.00001000 KYF/kB from peer=0
2018-11-27T16:00:16Z received: pong (8 bytes) peer=0
2018-11-27T16:00:17Z libevent: epoll_dispatch: epoll_wait reports 0
2018-11-27T16:00:17Z libevent: event_del: 0x7ff2f0000fa0 (fd -1), callback 0x55f57a03ca70
2018-11-27T16:00:17Z libevent: timeout_process: event: 0x7ff2f0000fa0, call 0x55f57a03ca70
2018-11-27T16:00:17Z libevent: event_active: 0x7ff2f0000fa0 (fd -1), res 1, callback 0x55f57a03ca70
2018-11-27T16:00:17Z libevent: event_del: 0x7ff2f0000fa0 (fd -1), callback 0x55f57a03ca70
2018-11-27T16:00:17Z libevent: event_process_active: event: 0x7ff2f0000fa0,    call 0x55f57a03ca70
2018-11-27T16:00:17Z libevent: event_add: event: 0x7ff2f00021d0 (fd -1), EV_READ    call 0x7ff330a31d40
2018-11-27T16:00:17Z libevent: event_add: event: 0x7ff2f0002250 (fd -1),  EV_WRITE   call 0x7ff330a31920
2018-11-27T16:00:17Z libevent: event_del: 0x7ff2f00021d0 (fd -1), callback 0x7ff330a31d40
2018-11-27T16:00:17Z libevent: event_del: 0x7ff2f0002250 (fd -1), callback 0x7ff330a31920
2018-11-27T16:00:17Z libevent: event_add: event: 0x7ff2f00021d0 (fd 18), EV_READ    call 0x7ff330a31d40
2018-11-27T16:00:17Z libevent: Epoll ADD(1) on fd 18 okay. Old events were 0; read change was 1 (add); write change was 0 (none); close change was 0 (none)
2018-11-27T16:00:17Z libevent: event_add: event: 0x7ff2f0002250 (fd 18),  EV_WRITE   call 0x7ff330a31920
2018-11-27T16:00:17Z libevent: Epoll MOD(5) on fd 18 okay. Old events were 2; read change was 0 (none); write change was 1 (add); close change was 0 (none)
2018-11-27T16:00:17Z libevent: event_add: event: 0x7ff2f0002250 (fd 18),  EV_WRITE   call 0x7ff330a31920
2018-11-27T16:00:17Z libevent: epoll_dispatch: epoll_wait reports 1
2018-11-27T16:00:17Z libevent: event_active: 0x7ff2f0002250 (fd 18), res 4, callback 0x7ff330a31920
2018-11-27T16:00:17Z libevent: event_active: 0x7ff2f00021d0 (fd 18), res 2, callback 0x7ff330a31d40
2018-11-27T16:00:17Z libevent: event_process_active: event: 0x7ff2f0002250,  EV_WRITE  call 0x7ff330a31920
2018-11-27T16:00:17Z libevent: event_del: 0x7ff2f0002250 (fd 18), callback 0x7ff330a31920
2018-11-27T16:00:17Z libevent: Epoll MOD(1) on fd 18 okay. Old events were 6; read change was 0 (none); write change was 2 (del); close change was 0 (none)
2018-11-27T16:00:17Z libevent: event_del: 0x7ff2f00021d0 (fd 18), callback 0x7ff330a31d40
2018-11-27T16:00:17Z libevent: Epoll DEL(1) on fd 18 okay. Old events were 2; read change was 2 (del); write change was 0 (none); close change was 0 (none)

Sorry for the long debug log, there is a lot more... anyone can help me figure out what is the problem?
Jump to: