Altchain PoP Rewards

From Veriblock Wiki
Revision as of 18:34, 11 November 2021 by Ismael (talk | contribs) (→‎FAQ)
Jump to: navigation, search

See: BTCSQ, Altchain_PoP_Miner

Overview

Altchain PoP mining takes VBK coins and rewards the native token (such as BTCSQ coins).

BTCSQ specifies two limits: number of ATVs per 1 BTCSQ block is 100, and altchain ID of BTCSQ has two last bytes 0x26ff which makes VBK blockchain think that the limit of ATVs from BTCSQ (with same altchain id) is 20 per 1 VBK block.

While there is complex gamification theory behind pop rewards, in general:

  • If someone consistently runs the pop miner, and with sufficient fees to get included in blocks in a timeline manner, then they should consistently get rewards.
  • The total pop reward is split amongst all the pop miners for that block. More pop miners means each individual reward is smaller.
  • More timely endorsements are better than older (stale) endorsements.

There is a 150-block payout internal (for BTCSQ), so it could take a few hours before rewards show up. Payout block height = endorsed block height + 150.

Altchains have multiple rounds, with a "keystone" round getting 3x larger reward (so miners are incentived to at least mine the keystone). BTCSQ had 4 rounds, and round 4 is the keystone. Here is scale ratio for each round: https://github.com/VeriBlock/alt-integration-cpp/blob/master/include/veriblock/pop/blockchain/alt_chain_params.hpp#L93

See: How to run the Altchain_PoP_Miner

See: VeriBlock_and_Proof-of-Proof_FAQ#What_is_the_VBK_Token.2FCoin_Lifecycle.3F

Details

Automation

Some miners automate the APM using the API: Altchain_PoP_Miner#API

FAQ

I pop mined, but I did not get any reward?

Low Fee

Wrong Altchain id

Modifies the altchain ID in the APM config file to something that didn't exist (or copied config in from another folder).

BTCSQ has an id = 16579303907010303 (0x3ae6ca000026ff in hex).


securityInheriting {
  vbtc: {
    // This can be set to [1,2,3,4]
    autoMineRounds: [4]
    payoutAddress: "<address here>"
    pluginKey: btc
    id: 16579303907010303

Case of limit of 1000 unconfirmed transactions

This specific case happen to #Theknystar, one of our Discord users. If for example you have 100 unconfirmed transactions with a fee of 1000 and someone else send 20 transactions at say 2000 then your next transaction with a fee of 2500 probably still wont make it a block because the average fee is too low. ( So if this wont make a block you can have sigindex issues and doesn't get payments on this transaction )