API for getting network size



  • Hey guys so im trying to build a little tool to give me the approximate earning given a plot size but in the formula I found it requires current network size but I havn't been able to find and API to get this data from, any suggestions?
    Before you suggest it, don't tell me to go here: http://burstcoin.biz/calculator



  • @ToxicPhyzix currently on my way to work so from top of my head - getMiningInfo or getBlockchainStatus. Will update once at work and can check for sure ;)



  • @LithStud
    hmm taking a look at those two we got
    getBlockchainStatus

    {
    requestProcessingTime: 0,
    lastBlock: "9624685888816742428",
    lastBlockchainFeederHeight: 370132,
    time: 89520435,
    application: "NRS",
    lastBlockchainFeeder: "46.38.251.80",
    numberOfBlocks: 370133,
    isScanning: false,
    cumulativeDifficulty: "3749037413117839788",
    version: "1.2.8"
    }
    

    and getMiningInfo

    {
    requestProcessingTime: 0,
    baseTarget: "503031",
    height: "370134",
    generationSignature: "9847b72e3c9281c25b0b49f89ef78f85f70f4ca2344c3b28b1a7abd3c0df5f81"
    }
    

    So the current network size is about 50PB which means any candidates for the value would be around about starting around about 50.
    cumulativeDifficulty sounds like it might be right and a possible candidate but it's it would mean the current network size is either 3 749PB, 468PB or 3.749PB, 0.468PB



  • @ToxicPhyzix it could be in byte, kb or mb. Try calculating :)


  • admin

    @Blago knows the formula by memory. ;)


  • Mod

    @daWallet

    Burst block 0 BaseTarget = 18325193796
    netDiff = baseTarget0 / baseTarget

    {
        "payloadLength": 0,
        "totalAmountNQT": "0",
        "generationSignature": "0000000000000000000000000000000000000000000000000000000000000000",
        "generator": "8628161281313630310",
        "generatorPublicKey": "0000000000000000000000000000000000000000000000000000000000000000",
        "baseTarget": "18325193796",
        "payloadHash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
        "generatorRS": "BURST-NU58-Z4QR-XXKE-94DHH",
        "blockReward": "0",
        "nextBlock": "1265146016099430888",
        "requestProcessingTime": 1,
        "scoopNum": 1689,
        "numberOfTransactions": 0,
        "blockSignature": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
        "transactions": [],
        "nonce": "0",
        "version": -1,
        "totalFeeNQT": "0",
        "block": "3444294670862540038",
        "height": 0,
        "timestamp": 0
    }
    


  • @Blago So the formula I found was ( 24 x 60 x blockReward x yourPlotSizeTB ) / (4 x currentNetworkSize)
    How exactly do I derive currentNetworkSize from netDiff?
    And just to check if I'm doing this right, the current diff should be: 18325193796/503031 = 36430 ?

    nvm, I think currentNetworkSize is the netDiff in TB's
    Thanks!


  • Mod

    @ToxicPhyzix few formulas
    chance (per block) = MyNonces/(2^64/BaseTarget/Deadline)

    avg Deadline=2^42/BaseTarget/TB, TB - size in Tb


Log in to reply
 

Looks like your connection to Burst - Efficient HDD Mining was lost, please wait while we try to reconnect.