Bitcoin Forum
May 03, 2024, 01:35:07 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: [ANN] Dpowcoin- Dualpowcoin - Dual PoW (Not Multi POW!), NO-Premine.  (Read 1003 times)
mraksoll (OP)
Jr. Member
*
Offline Offline

Activity: 83
Merit: 1


View Profile
April 19, 2024, 01:50:36 PM
Last edit: April 28, 2024, 12:48:02 PM by mraksoll
 #1

Dpowcore - Dualpowcoin





What is this ? Another Altcoin ? Maybe but read next.

This is experemtal coin with dual pow , dual Pro of Work - not multi Prof of Work!

For each block, 2 proofs of work were used - first we verify the block with the first POW - Yespower, then we verify the same block in 2 rounds of SHA512 as salt and 2 rounds of Argond2id, and the block is valid if it passes both proofs of work



Code:
static bool CheckBlockHeader(const CBlockHeader& block, BlockValidationState& state, const Consensus::Params& consensusParams, bool fCheckPOW = true)
{
    // Check proof of work's matches claimed amount (dual pow logic)
    bool powResult1 = fCheckPOW ? CheckProofOfWork(block.GetYespowerPoWHash(), block.nBits, consensusParams) : true;
    bool powResult2 = fCheckPOW ? CheckProofOfWork(block.GetArgon2idPoWHash(), block.nBits, consensusParams) : true;

    // Checking if both POW's are valid
    if (!powResult1 || !powResult2) {
        return state.Invalid(BlockValidationResult::BLOCK_INVALID_HEADER, "high-hash", "proof of work's failed");
    }

    return true;
}

Get PoW Logic


Code:
/* Yespower */
uint256 CBlockHeader::GetYespowerPoWHash() const
{
    static const yespower_params_t yespower_1_0_dpowcoin = {
        .version = YESPOWER_1_0,
        .N = 2048,
        .r = 8,
        .pers = (const uint8_t *)"One POW? Why not two? 17/04/2024",
        .perslen = 32
    };
    uint256 hash;
    CDataStream ss(SER_NETWORK, PROTOCOL_VERSION);
    ss << *this;
    if (yespower_tls((const uint8_t *)&ss[0], ss.size(), &yespower_1_0_dpowcoin, (yespower_binary_t *)&hash)) {
        tfm::format(std::cerr, "Error: CBlockHeader::GetYespowerPoWHash(): failed to compute PoW hash (out of memory?)\n");
        exit(1);
    }
    return hash;
}

// CBlockHeader::GetArgon2idPoWHash() instance
// -> Serialize Block Header using CDataStream
// -> Compute SHA-512 hash of serialized data (Two Rounds)
// -> Use the computed hash as the salt for argon2id_hash_raw function for the first round
// -> Call argon2id_hash_raw function for the first round using the serialized data as password and SHA-512 hash as salt
// -> Use the hash obtained from the first round as the salt for the second round
// -> Call argon2id_hash_raw function for the second round using the serialized data as password and the hash from the first round as salt
// -> Return the hash computed in the second round (hash2)

uint256 CBlockHeader::GetArgon2idPoWHash() const
{
    uint256 hash;
    uint256 hash2;
    CDataStream ss(SER_NETWORK, PROTOCOL_VERSION);
    ss << *this;
  
    // Hashing the data using SHA-512 (two rounds)
    std::vector<unsigned char> salt_sha512(CSHA512::OUTPUT_SIZE);
    CSHA512 sha512;
    sha512.Write((unsigned char*)&ss[0], ss.size()).Finalize(salt_sha512.data());
    sha512.Reset().Write(salt_sha512.data(), salt_sha512.size()).Finalize(salt_sha512.data());
  
    // Preparing data for hashing
    const void* pwd = &ss[0];
    size_t pwdlen = ss.size();
    const void* salt = salt_sha512.data();
    size_t saltlen = salt_sha512.size();
  
    // Calling the argon2id_hash_raw function for the first round
    int rc = argon2id_hash_raw(2, 4096, 2, pwd, pwdlen, salt, saltlen, &hash, 32);
    if (rc != ARGON2_OK) {
        printf("Error: Failed to compute Argon2id hash for the first round\n");
        exit(1);
    }
  
    // Using the hash from the first round as the salt for the second round
    salt = &hash;
    saltlen = 32;
  
    // Calling the argon2id_hash_raw function for the second round
    rc = argon2id_hash_raw(2, 32768, 2, pwd, pwdlen, salt, saltlen, &hash2, 32);
    if (rc != ARGON2_OK) {
        printf("Error: Failed to compute Argon2id hash for the second round\n");
        exit(1);
    }

    // Return the result of the second round of Argon2id
    return hash2;
}

As example for Light SPV wallets can be used only one of that POWS for verify ( sha512+argon2id best in that cases as libs available almost at all plaforms)




How much Premine  have ? the first 3 blocks with a 50 reward for  creating a checkpoint after force BIP's activations . (so there is no premine, no development fee, no delayed mining or whatever they like to call it)

Miners can simple donate some part of mined coins to dev's  if they want -  you can find donate addreses at website.



Source code

https://github.com/dpowcore-project/dpowcoin

Releases precompled wallets for all platforms.
https://github.com/dpowcore-project/dpowcoin/releases
https://dpowcore.org/en/download/

Website
https://dpowcore.org

Disscord
https://discord.gg/b9zkzAgUpH

Telegram for discusions
https://t.me/dpowcoin

Telegram devs
https://t.me/dpowcore

Telegram news channel
https://t.me/dpowcoinnews

Twitter
https://twitter.com/dpowcoin

Explorer
https://explorer.dpowcore.org


Exhangers

https://exbitron.com/trade?market=dpc-usdt




Desctription

Code:
Based at Bitcoin 26.1 final stable release.

Coin Name   Dpowcoin

Short Name   DPC

Block Time   5m or 300s

Diff Retargeting   LWMA3 with N 576

Reward   50 coins

Subsidy Halving Interval   Every 420 000 blocks

Proof Type   Dual POW ( not multi pow!)

Algo   Dual POW - by Yespower and Argon2id 0x13 + SHA512

POW check like at LTC   Using sha256d in headers indexing

Legacy Address Prefix   P - 55 - 0x37

P2SH-SegWit Address Prefix   C - 28 - 0x1c

Bech32-SegWit Prefix   dpc1

Default p2p port   42003

Default rpc port   42002

powLimit   001fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff

BIPs activated   Block 2

Network Magic   0xf29f4afb

bip324 Salt   dpowcoin_v2_shared_secret

COINBASE MATURITY   100

MAX SUPPLY   42 000 000

Pre Mine   None if not count 3 blocks for activate "BIP" rules.

Dev Fees   None
How to mine ?

go to debug console and put command


Code:
generatetoaddress nblocks "address" ( maxtries )

Example for infine try


Code:
generatetoaddress 10000 "Myaddress" -1

nblocks must be positive value , sorry.

The project was largely created in response to the increasing spam of sha256 coins and a scrypt with abnormal premine.


IMPORTANT !

We do not use "delayed POW" technology and are not related to komodo projects! We use double PoW or Dual POW!
1714700107
Hero Member
*
Offline Offline

Posts: 1714700107

View Profile Personal Message (Offline)

Ignore
1714700107
Reply with quote  #2

1714700107
Report to moderator
1714700107
Hero Member
*
Offline Offline

Posts: 1714700107

View Profile Personal Message (Offline)

Ignore
1714700107
Reply with quote  #2

1714700107
Report to moderator
1714700107
Hero Member
*
Offline Offline

Posts: 1714700107

View Profile Personal Message (Offline)

Ignore
1714700107
Reply with quote  #2

1714700107
Report to moderator
The block chain is the main innovation of Bitcoin. It is the first distributed timestamping system.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714700107
Hero Member
*
Offline Offline

Posts: 1714700107

View Profile Personal Message (Offline)

Ignore
1714700107
Reply with quote  #2

1714700107
Report to moderator
yifan_gem
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
April 19, 2024, 02:01:23 PM
 #2

Where can I find the whitepaper?
Cynce
Jr. Member
*
Offline Offline

Activity: 103
Merit: 1


View Profile
April 19, 2024, 02:04:21 PM
 #3

Can you provide some addnodes?
Ms_Mining
Member
**
Offline Offline

Activity: 167
Merit: 34

✔️ Telegram @miningrelease


View Profile WWW
April 19, 2024, 02:40:08 PM
 #4

We need Discord's link.

🔴🔴🔴🔴🔴 Telegram channel witn announcement of new coins for GPU mining - @miningrelease 🔴🔴🔴🔴🔴
mraksoll (OP)
Jr. Member
*
Offline Offline

Activity: 83
Merit: 1


View Profile
April 19, 2024, 02:56:51 PM
 #5

done.
markwoold
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
April 20, 2024, 07:03:55 AM
 #6

1   dpc1qqmqeku9qf60cj07349nhgswh9han335994hnfg   10,050.00000514   34.13 Grin Grin Grin
mraksoll (OP)
Jr. Member
*
Offline Offline

Activity: 83
Merit: 1


View Profile
April 20, 2024, 11:48:18 AM
 #7

asnwer to all why is there exist faster blocks

there was no difficulty retargeting for the first 576 blocks, they are needed for LWMA to work correctly as the window it looks at to control diff, and we decided to allow people to mine these blocks rather than mine them themselves, since even with powlimit diff it could take a lot of time and could be regarded as a premine...

you can see in the block explorer that the difficulty started changing from block 577

code lines to see where it is..

Param windows of lwma 576 by recomendation of diff algo cretator for keep stable diff.

https://github.com/dpowcore-project/dpowcoin/blob/master/src/kernel/chainparams.cpp#L88

recomendet give away blocks , for it work correct ( return Powlimit at before block 577 )

https://github.com/dpowcore-project/dpowcoin/blob/master/src/pow.cpp#L125
elmo40
Member
**
Offline Offline

Activity: 665
Merit: 15


View Profile
April 20, 2024, 01:42:07 PM
 #8

Where is there a pool? And is there a need of a new miner to 'dual PoW' mine multi-algo at once?
mraksoll (OP)
Jr. Member
*
Offline Offline

Activity: 83
Merit: 1


View Profile
April 20, 2024, 02:00:50 PM
 #9

if you need find nodes for add , if for some reason you cannot take it from node or dns seeder

https://explorer.dpowcore.org/network
mraksoll (OP)
Jr. Member
*
Offline Offline

Activity: 83
Merit: 1


View Profile
April 20, 2024, 02:05:19 PM
 #10

Where is there a pool? And is there a need of a new miner to 'dual PoW' mine multi-algo at once?

Need create new miner and add to pool this new logic.
Not this is not multi algo coin, there 2 algos for one block - 2 validation stages when we first valid at yespower and if block valid then we try valid this block at argone2id 0x13 , and if 2 algos hashed < target , we flush to data block (as sha256 for fast sync) and send it  to network.

you can see for every block they hashes at algos by ( sha256 there not used for verify blocks only for store them and fast sync)


Code:
17:04:21

getblockhash 1


17:04:21

5f0d273c328c7c3506a4a635f4ddeb294f742eec5bf2b829b3901e53ea8965f2


17:04:24

getyespowerpowhash 1


17:04:24

0008a598f6c4e50603a12af8cfc720ea670a5e84d9e8fb228e6ffe775c6269ac


17:04:30

getargon2idpowhash 1


17:04:30

0011dc045e2c60ca760860dedffc332a60d54d738622e21b6364d9ac1d1f3f5e
markwoold
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
April 20, 2024, 06:04:33 PM
 #11

“无预挖” “可以视为预挖” 577 ,糊弄鬼呢吧! 我2台电脑SOLO 24个小时一个块都没有,我朋友3个块,但两个块确认失败,全部到持币量第一的钱包地址,到发帖时持币量第一的钱包地址持币量占比超过51%没有?  要不你自己攻击一下自己? !    Grin Grin Grin
mraksoll (OP)
Jr. Member
*
Offline Offline

Activity: 83
Merit: 1


View Profile
April 20, 2024, 08:35:10 PM
 #12

“无预挖” “可以视为预挖” 577 ,糊弄鬼呢吧! 我2台电脑SOLO 24个小时一个块都没有,我朋友3个块,但两个块确认失败,全部到持币量第一的钱包地址,到发帖时持币量第一的钱包地址持币量占比超过51%没有?  要不你自己攻击一下自己? !    Grin Grin Grin

use your brains, if these blocks were mined by the developers, then the release would be after these blocks.
elmo40
Member
**
Offline Offline

Activity: 665
Merit: 15


View Profile
April 21, 2024, 02:40:43 AM
 #13

well, i get 0 blocks when using your generatetoaddress command. My CPU is doing nothing.
plus, i have 0 peers when doing getpeerinfo, and yet my wallet syncs. wtf?

As per standard crypto rules... someone has figured out how to mine, and isn't telling anyone else, and yet difficulty is on a steady increase. Go figure.
mraksoll (OP)
Jr. Member
*
Offline Offline

Activity: 83
Merit: 1


View Profile
April 21, 2024, 02:48:34 AM
 #14

well, i get 0 blocks when using your generatetoaddress command. My CPU is doing nothing.
plus, i have 0 peers when doing getpeerinfo, and yet my wallet syncs. wtf?

As per standard crypto rules... someone has figured out how to mine, and isn't telling anyone else, and yet difficulty is on a steady increase. Go figure.

rplant  pool  create cpu miner and add it to pool... so you can use standart miner now.
energy_xxx
Jr. Member
*
Offline Offline

Activity: 139
Merit: 1


View Profile
April 21, 2024, 03:13:27 AM
 #15

edit
energy_xxx
Jr. Member
*
Offline Offline

Activity: 139
Merit: 1


View Profile
April 21, 2024, 03:14:46 AM
 #16

Edit came a little late
0nion
Newbie
*
Offline Offline

Activity: 10
Merit: 1


View Profile
April 22, 2024, 12:00:14 AM
 #17

Will a GPU miner be released?
galllotech
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
April 22, 2024, 10:45:42 AM
 #18

Hi fellows just came to drop this tutorial for windows mining

https://youtu.be/cATTJzAVNwY?si=plrJ-ZwXKMvl8Dfy  Roll Eyes Roll Eyes Roll Eyes
mraksoll (OP)
Jr. Member
*
Offline Offline

Activity: 83
Merit: 1


View Profile
April 22, 2024, 11:33:33 AM
 #19

Will a GPU miner be released?

I don’t think that in the near future anyone will be able to create a gpu miner, considering that 1 of the algorithms is yespower and the second is 2 rounds agron2id
energy_xxx
Jr. Member
*
Offline Offline

Activity: 139
Merit: 1


View Profile
April 22, 2024, 05:24:02 PM
 #20

rplant connect error
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!