What is my cardano-sl node doing actually?


#1

So, I’m running a cardano-sl node 24/7 but what is my node actually doing in the Bootstrap Era? Do I really contribute to the mainnet?

In the logs, I see stuff like this:

[node.plugin:INFO:ThreadId 88817] [2017-12-31 12:58:23 UTC] Block transactions history: [3385d2ce, 5c5e6daf, 97034081]
[node.plugin:INFO:ThreadId 88817] [2017-12-31 12:58:23 UTC] Mempool transactions history: []
[node.plugin:INFO:ThreadId 88817] [2017-12-31 12:58:23 UTC] Pending transactions history: []
[node.plugin:INFO:ThreadId 88818] [2017-12-31 12:58:23 UTC] Block transactions history: [3385d2ce, 5c5e6daf, 97034081]
[node.plugin:INFO:ThreadId 88818] [2017-12-31 12:58:23 UTC] Mempool transactions history: []
[node.plugin:INFO:ThreadId 88818] [2017-12-31 12:58:23 UTC] Pending transactions history: []
[node.wallet.servant:INFO:ThreadId 88817] [2017-12-31 12:58:23 UTC] 

And this:

[node.worker.ssc:DEBUG:ThreadId 88904] [2017-12-31 12:58:31 UTC] Not enough stake to participate in MPC
[node.plugin.tx.resubmitter:INFO:ThreadId 88905] [2017-12-31 12:58:31 UTC] Transactions to resubmit on current slot: []
[node.worker.us:DEBUG:ThreadId 88906] [2017-12-31 12:58:31 UTC] Updating slot for US...
[node.worker.us:DEBUG:ThreadId 88906] [2017-12-31 12:58:31 UTC] Checking for update...
[node.worker.block:DEBUG:ThreadId 88910] [2017-12-31 12:58:31 UTC] MemPool metrics wait: "createGenesisBlockAndApply" queue length is 1
[node.worker.block:DEBUG:ThreadId 88910] [2017-12-31 12:58:31 UTC] MemPool metrics acquire: wait time was 22mcs
[node.worker.us:DEBUG:ThreadId 88906] [2017-12-31 12:58:31 UTC] There are no new confirmed update proposals for our application
[node.worker.block:DEBUG:ThreadId 88910] [2017-12-31 12:58:31 UTC] We are trying to create genesis block for 19th epoch, our tip header is
MainBlockHeader:
    hash: 72259bd8a80c1f98d9a212d932d2d2536ad2c727de65a414037cd27764b24bbb
    previous block: 1b1cb18dd45e53d28d825f3b648af234fe79dba2e00430dbf739bbfb0dee6e8e
    slot: 13905th slot of 19th epoch
    difficulty: 424251
    leader: pub:d2965c86
    signature: BlockPSignatureHeavy: Proxy signature { psk = ProxySk { w = epoch #0, iPk = pub:d2965c86, dPk = pub:9180d818 } }
    block: v0.1.0
    software: cardano-sl:0

[node.worker.block:DEBUG:ThreadId 88909] [2017-12-31 12:58:31 UTC] Block with depth 'k' (2160) was created during slot 11745th slot of 19th epoch
[node.worker.block:DEBUG:ThreadId 88910] [2017-12-31 12:58:31 UTC] After we took lock for genesis block creation, we noticed that we shouldn't create it
[node.worker.block:DEBUG:ThreadId 88910] [2017-12-31 12:58:31 UTC] MemPool metrics release: modify time was 4560mcs size is 0
[node.worker.block:DEBUG:ThreadId 88909] [2017-12-31 12:58:31 UTC] Overall chain quality is 0.996
[node.worker.block:DEBUG:ThreadId 88910] [2017-12-31 12:58:31 UTC] Our pk: pub:f6e719d1, our pkHash: eebadc2b
[node.worker.slotting.slotting:NOTICE:ThreadId 88911] [2017-12-31 12:58:31 UTC] New slot has just started: 15701st slot of 19th epoch
[node.worker.block:DEBUG:ThreadId 88910] [2017-12-31 12:58:31 UTC] Current slot leader: af2800c1
[node.worker.slotting.slotting:DEBUG:ThreadId 563] [2017-12-31 12:58:31 UTC] Waiting for 19912045mcs before new slot
[node.worker.block:DEBUG:ThreadId 88910] [2017-12-31 12:58:31 UTC] Trimmed leaders: [(15691, 43011479), (15692, 5411c7bf), (15693, 6c9e1497), (15694, 1deb8290), (15695, 43011479), (15696, 1deb8290), (15697, 1deb8290), (15698, af2800c1), (15699, 1deb8290), (15700, 5071d880), (15701, af2800c1), (15702, 43011479), (15703, af2800c1), (15704, 43011479), (15705, 65904a89), (15706, 5411c7bf), (15707, af2800c1), (15708, 5411c7bf), (15709, 6c9e1497), (15710, 43011479), (15711, 5411c7bf)]
[node.worker.block:DEBUG:ThreadId 88910] [2017-12-31 12:58:31 UTC] Available to use lightweight PSKs: []
[node.worker.block:DEBUG:ThreadId 88910] [2017-12-31 12:58:31 UTC] End delegation psk for this slot: ProxySk { w = epoch #0, iPk = pub:1bc97a2f, dPk = pub:61261a95 }
[node.wallet.servant:INFO:ThreadId 88913] [2017-12-31 12:58:32 UTC] 

And as soon as my wallet is open, it address and account Id is mentioned constantly. I would really appreciate an explaination


#2

I found an interesting document in the Cardano Github that explains the type of nodes that are active in the mainnet. The article is highly technical and difficult to read but it appears that there are several types of nodes doing different tasks. No clue what type of node we currently build.