Bitcoin Forum
November 16, 2024, 03:00:58 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: 3DPass (P3D) distributed mining | new algo | CPU oriented, ASIC-resistant  (Read 507 times)
3DPass (OP)
Jr. Member
*
Offline Offline

Activity: 161
Merit: 5


View Profile WWW
July 09, 2024, 09:47:35 PM
Last edit: August 02, 2024, 04:11:41 PM by 3DPass
 #1

Dear friends,

We have just upgraded the network with new PoW component standing for distributed mining, which is CPU oriented and ASIC resistant, as well. Feel free to pick up detail in the WP: https://github.com/3Dpass/whitepaper/blob/main/3DPass_white_paper_v2.pdf
---

Github: https://github.com/3Dpass/3DP

Guidelines:
Linux and MacOS: https://3dpass.org/mainnet#linux-mac
Docker (Win, Linux, any system): https://3dpass.org/mainnet#docker

Mining leaders board: https://www.3dpassmining.info
Network telemetry: http://telemetry.3dpscan.io

Feel free to participate.
Let me know about any question, I'd be happy to answer.


reb0rn21
Legendary
*
Offline Offline

Activity: 1901
Merit: 1024


View Profile
July 09, 2024, 10:29:30 PM
 #2

While the diff is very small . 2.5K nethash its quite profitable to mine, tnx

Will only point to the snapshot which can be used hare as it need quite a lot to sync from block 0
https://github.com/xchainw/p3d-db/releases

the 5950x atm is generating some 1500-2000 3dp daily, you can use --threads with the node to set your as cpu load will go to node and not to the miner as node is validating object, just take care about miner with the --interval value to now overload the node

              ▄▄▄ ▀▀▀▀▀▀▀▀▀ ▄▄▄
           ▄▀▀    ▄▄▄▄▄▄▄▄▄    ▀▀▄
        ▄▀▀  ▄▄▀█          ▀█▀▄▄  ▀▀▄
      ▄▀▀ ▄▄▀    ▀▀▄▄▄▄▄▄▄▀▀    ▀▄▄ ▀▀▄
     █   █            ▀            █   █
   ▄▀ █  ▀▄▄                     ▄█▀  █ ▀▄
  ▄▀ ▄▀ █▄ ▀▀▀██▄▄▄       ▄▄▄██▀▀  ██ ▀▄ ▀▄
  ▀▄▀▀▄ ██ ▄▄▄▄▄▄  ▀▄   ▄▀  ▄▄▄▄▄▄ ██ ▄▀▀▄▀
 ██   █ ██ ▀▄    ▀▄ █   █ ▄▀    ▄▀ ██ █  ▀██
 █  ▄█  ▀█  ▀▀▀▀▀▀▀ █   █ ▀▀▀▀▀▀▀  █   █▄  █
█▀ █  █  █          █   █          █  █  █ ▀▀
 █▀  ▄▀  █▀▄        █   █        ▄▀█  ▀▄  ▀█
 ▄  █▀   █ ▀█▄      ▀   ▀      ▄█▀ █  ▄▀█  ▄
 █▄▀  █  █                         █  █  ▀▄█
 ▀▄  █   ▀█        ▄▄▀▄▀▄▄        █▀   █  ▄
  ▀▄▀▀  █▄ █     ▀█  ▀▀▀  █▀     █ ▄█ ▄▀▀▄▀
   ▀ ▄  ██ █▀▄     ▀▀▄▄▄▀▀     ▄▀█ ██ ▀▄ ▀
    ▀█  ██ █ █▀▄    ▄▄▄▄▄    ▄▀█ █ ██  █▀
      ▀▄ ▀ █ █ ██▄         ▄██ █ █ ▀ ▄▀
        ▀▄ █ █ █ ▀█▄     ▄█▀ █ █ █ ▄▀
          ▀▀▄█ █    ▀▀▀▀▀    █ █▄▀▀
              ▀▀ ▄▄▄▄▄▄▄▄▄▄▄ ▀▀
   
..I  D  E  N  A..
   
Proof-of-Person Blockchain

Join the mining of the first human-centric
cryptocurrency
 



 
▲    2 3 2 2

..N  O  D  E  S..
   
                ██
                ██
                ██
                ██
                ██
         ▄      ██      ▄
         ███▄   ██   ▄███
          ▀███▄ ██ ▄███▀
            ▀████████▀
              ▀████▀
                ▀▀
██▄                            ▄██
███                            ███
███                            ███
███                            ███
 ███▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄███
  ▀▀██████████████████████████▀▀
   
D O W N L O A D

Idena node

   
   
▄▄▄██████▄▄▄
▄▄████████████████▄▄
▄█████▀▀        ▀▀█████▄
████▀                ▀████
███▀    ▄▄▄▄▄▄▄▄▄       ▀███
███      █   ▄▄ █▀▄        ███
██▀      █  ███ █  ▀▄      ▀██
███       █   ▀▀ ▀▀▀▀█       ███
███       █  ▄▄▄▄▄▄  █       ███
███       █  ▄▄▄▄▄▄  █       ███
██▄      █  ▄▄▄▄▄▄  █      ▄██
███      █          █      ███
███▄    ▀▀▀▀▀▀▀▀▀▀▀▀    ▄███
████▄                ▄████
▀█████▄▄        ▄▄█████▀
▀▀████████████████▀▀
▀▀▀██████▀▀▀
   
    .REQUEST INVITATION.
IGotsmoke
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
July 10, 2024, 09:34:36 AM
 #3

Great work! I built it on macOS and it ran fine and mined blocks successfully Grin
chum_yum
Legendary
*
Offline Offline

Activity: 1128
Merit: 1028



View Profile
July 10, 2024, 10:40:36 AM
 #4

Been mining with 2-core VPS for ~24 h and still can hit a block every 6 hours in average.

Is GPU completely disabled for this algo? 
3dpass Community
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
July 11, 2024, 11:24:45 AM
 #5

3dpass刚刚升级了网络,新增了代表分布式挖矿的新PoW组件。该组件专为CPU设计,具备抗击FPGA和ASICs的特性.可以在VPS上或pc挖矿上进行挖矿,经过实测,一个双核VPS在24小时内可以挖掘两个区块

3dpass支持Linux,MAC OS上进行挖矿,并且可以在任何系统上通过全平台的docker进行挖矿(Windows;Linux;Mac OS等) 详见官方教程
官方linux教程:https://www.3dpass.org/mainnet#linux-mac
官方docker教程:https://3dpass.org/mainnet#docker

本文主要是Linux 挖矿教程

设置完整节点

1. 打开终端并从 GitHub 克隆节点:

git clone https://github.com/3Dpass/3DP.git
cd 3DP
                   
2. 按照https://github.com/3Dpass/3DP#getting-started-with-3dpass-node 指南自行编译节点源代码或从https://github.com/3Dpass/3DP/releases 下载二进制文件
注意!如果选择下载预构建的 poscan-consensus,请将二进制文件放入./target/release目录内
建议直接下载二进制文件使用,因为编译可能存在系统缺少环境依赖等问题.导致失败。如果编译报错可以把大部分环境依赖安装一遍(文末)。


3.生成您的挖矿账户: (注意!请保存好 Secret seed,这12个单词就是你的助记词,用于将来钱包恢复和转账等)

./target/release/poscan-consensus generate-mining-key --base-path ~/3dp-chain/ --chain mainnetSpecRaw.json
                   

输出将会像这样:   
Public key: 0x48a04c1639efea00fabef12e9425906cc3363449edcf876483952a62a5c16a77
Secret seed: ticket slam leisure runway people pretty tomato human media axis typical brick
Address: d1DtwdMt3jdZBnntqKjFa2ne6MQDenJ9ZF3JVjQUY5RvRPfNu

4.在密钥库中注册您的挖矿密钥:

./target/release/poscan-consensus import-mining-key '你的seed phrase' --base-path ~/3dp-chain/ --chain mainnetSpecRaw.json

输出将会像这样:   
Public key: 0x48a04c1639efea00fabef12e9425906cc3363449edcf876483952a62a5c16a77
Secret seed: ticket slam leisure runway people pretty tomato human media axis typical brick
Address: d1DtwdMt3jdZBnntqKjFa2ne6MQDenJ9ZF3JVjQUY5RvRPfNu   
           
7.使用以下命令启动节点:

./target/release/poscan-consensus --base-path ~/3dp-chain/ --chain mainnetSpecRaw.json --name MyNodeName --validator --telemetry-url "wss://submit.telemetry.3dpscan.io/submit 0" --author 填入你的Public key  --threads 2 --no-mdns
              
--author 是您挖矿账户的公钥,也就是Public key .--threads "是您准备用于挖矿的线程数("--threads 2 "表示您将利用 2 个线程进行挖矿)
成功启动节点后会开始同步区块,如果从1开始的话同步时间大约需要7天。同步到最新区块后才能开始挖矿...............
也可以下载由xchainw提供的区块数据文件,只需将其解压放入./3dp-chain/chains/3dpass/db 目录中。可以大大的缩短同步时间,仅需要数小时就能够同步到最新区块
下载地址:https://github.com/xchainw/p3d-db/releases

                 

准备挖矿


确保您已设置好完整节点,并继续以下步骤:
1.安装bun
 
curl -fsSL https://bun.sh/install | bash

source /root/.bashrc


2. 安装 miner:

cd 3DP
bun install
                   

3.运行矿工,开始挖矿(节点必须在运行中):

bun miner.js --host 127.0.0.1 --port 9933
                   


适用于ubuntu22的常用的环境依赖
apt-get install -y build-essential cmake libgmp-dev libnuma-dev ocl-icd-libopencl1 gcc make libhugetlbfs-dev libc-dev libc6-dev build-essential g++  git clang curl libssl-dev llvm libudev-dev libstdc++-12-dev

如果遇到任何问题,可以加中文qq群:216688322 或官方discord https://discord.com/invite/u24WkXcwug 咨询,
3dpass官网:https://www.3dpass.org/
Github: https: //github.com/3Dpass/3DP
挖矿爆块排行:https://www.3dpassmining.info/
discord https://discord.com/invite/u24WkXcwug

交易所
https://xeggex.com/market/P3D_USDT
https://www.mexc.com/zh-CN/exchange/P3D_USDT
https://www.coinex.com/en/exchange/p3d-usdt
https://www.xt.com/zh-CN/trade/p3d_usdt
3DPass (OP)
Jr. Member
*
Offline Offline

Activity: 161
Merit: 5


View Profile WWW
July 11, 2024, 10:02:04 PM
 #6

Been mining with 2-core VPS for ~24 h and still can hit a block every 6 hours in average.

Is GPU completely disabled for this algo? 

It is slowed down to the speeds accessible for CPUs. So, there is an option of "CPU + GPU" possible to be unfolded in the future. It's probably going to take some research to figure out whether it worth it or not to develop.
3DPass (OP)
Jr. Member
*
Offline Offline

Activity: 161
Merit: 5


View Profile WWW
July 17, 2024, 01:06:57 PM
 #7

There is an option to speed up syncing process by starting the node from the latest blockchian db snapshot provided by the community members for newcomers. Follow the instruction below to start the node from the latest one:

Linux or Mac OS:

- The blockchain db location: ~/3dp-chain/chains/3dpass/db
- Download and unpack the latest `db` from either repo 1: https://github.com/Snezhnaya-Fatui/p3d-mainnet-db  or repo 2: https://github.com/xchainw/p3d-db/releases
- Replace the existing `db` folder with the one you just downloaded
- Restart the Node

Docker:

- The blockchain db location: ./3DP/data/chain/chains/3dpass/db
- Download and unpack the latest `db` from either repo 1: https://github.com/Snezhnaya-Fatui/p3d-mainnet-db  or repo 2: https://github.com/xchainw/p3d-db/releases
- Replace the existing `db` folder with the one you just downloaded
- Restart the Node

3DPass (OP)
Jr. Member
*
Offline Offline

Activity: 161
Merit: 5


View Profile WWW
August 02, 2024, 04:11:01 PM
 #8

I'd like to share an option, which allows to generate your keys in one command by script:

New account

Generate new account and import all of your keys (Mining key, GRANDPA key and ImOnline key) at once with the keygen.sh script. Save your Secret Seed phrase in a safe place:

Code:
cd 3DP 
sh keygen.sh
                   
Existing account

Have you already had an account, use the keygen_seed.sh script to generate the keys out of your Secret Seed phrase and import them all at once.
Put your Secret Seed phrase into the ~/3DP/keygen_seed.sh file like this:

Code:
#! /bin/bash
# A keyset will be generated out of the seed phrase below
MEMO_SEED="PUT YOUR MEMO SEED HERE"
 
                
Save the the keygen_seed.sh and execute the script:

Code:
sh keygen_seed.sh

--

Explore the detail: https://3dpass.org/mainnet#linux-mac-keys
bcn2048
Newbie
*
Offline Offline

Activity: 105
Merit: 0


View Profile
August 04, 2024, 11:49:53 AM
 #9

still quite profitable to mine, zen 9 7950xd3 yields around 1000 p3d a day
chum_yum
Legendary
*
Offline Offline

Activity: 1128
Merit: 1028



View Profile
August 07, 2024, 02:23:32 PM
 #10

I'd like to share a few tricks that might help someone adjust the miner velocity to the Node performance, which wasn't apparent at the beginning.

That's what I figure out dealing with that during my experiment:
--
Embedded miner:

I changed the limits in the miner.js this way:
https://github.com/3Dpass/3DP/blob/1c696ee89ce4acc3274209aab8bc7ec597bfc4f5/miner.js#L17

Code:
const MIN_INTERVAL = 100;
const MAX_INTERVAL = 10000;
const ADJUSTMENT_PERCENT = 10;

 If you need to load your machine even greater,  just decrease the MIN_INTERVAL value to 10 mSec/object or smaller. Like this:

Code:
const MIN_INTERVAL = 10;
const MAX_INTERVAL = 10000;
const ADJUSTMENT_PERCENT = 10;

Making adjustments on the max limit (ex. MAX_INTERVAL = 100000 sets up the miner velocity at 100 sec/object)

---
Another miner

In order to adjust this good old miner https://github.com/3Dpass/miner
Just set up fix interval manually:
 
Code:
yarn miner --interval 10
3DPass (OP)
Jr. Member
*
Offline Offline

Activity: 161
Merit: 5


View Profile WWW
August 15, 2024, 06:40:25 AM
 #11

I'd like to share a few tricks that might help someone adjust the miner velocity to the Node performance, which wasn't apparent at the beginning.

That's what I figure out dealing with that during my experiment:
--
Embedded miner:

I changed the limits in the miner.js this way:
https://github.com/3Dpass/3DP/blob/1c696ee89ce4acc3274209aab8bc7ec597bfc4f5/miner.js#L17

Code:
const MIN_INTERVAL = 100;
const MAX_INTERVAL = 10000;
const ADJUSTMENT_PERCENT = 10;

 If you need to load your machine even greater,  just decrease the MIN_INTERVAL value to 10 mSec/object or smaller. Like this:

Code:
const MIN_INTERVAL = 10;
const MAX_INTERVAL = 10000;
const ADJUSTMENT_PERCENT = 10;

Making adjustments on the max limit (ex. MAX_INTERVAL = 100000 sets up the miner velocity at 100 sec/object)

---
Another miner

In order to adjust this good old miner https://github.com/3Dpass/miner
Just set up fix interval manually:
 
Code:
yarn miner --interval 10

Could you share any result? Increasing on CPU performance can help to some extent, but there is a memory bottleneck..
3DPass (OP)
Jr. Member
*
Offline Offline

Activity: 161
Merit: 5


View Profile WWW
August 17, 2024, 08:02:44 AM
 #12

I believe, this information about the profitability might be useful for many. So, I'll repost it here:

Currently, a 3900x makes about 4-600 P3D per day, roughly $1.50 before power.

https://www.3dpassmining.info/Detailed?nodeid=0x06ddddbf01ce26f656f16559e64dbfe93571bbb4bfb34b5a71abf0af868dcf45



chum_yum
Legendary
*
Offline Offline

Activity: 1128
Merit: 1028



View Profile
August 27, 2024, 08:48:32 AM
 #13

I'd like to share a few tricks that might help someone adjust the miner velocity to the Node performance, which wasn't apparent at the beginning.

That's what I figure out dealing with that during my experiment:
--
Embedded miner:

I changed the limits in the miner.js this way:
https://github.com/3Dpass/3DP/blob/1c696ee89ce4acc3274209aab8bc7ec597bfc4f5/miner.js#L17

Code:
const MIN_INTERVAL = 100;
const MAX_INTERVAL = 10000;
const ADJUSTMENT_PERCENT = 10;

 If you need to load your machine even greater,  just decrease the MIN_INTERVAL value to 10 mSec/object or smaller. Like this:

Code:
const MIN_INTERVAL = 10;
const MAX_INTERVAL = 10000;
const ADJUSTMENT_PERCENT = 10;

Making adjustments on the max limit (ex. MAX_INTERVAL = 100000 sets up the miner velocity at 100 sec/object)

---
Another miner

In order to adjust this good old miner https://github.com/3Dpass/miner
Just set up fix interval manually:
 
Code:
yarn miner --interval 10

Could you share any result? Increasing on CPU performance can help to some extent, but there is a memory bottleneck..


It's not as impressive, ~ x1.5, I think. What is the purpose for the bottleneck to exist, btw?
makertronic
Copper Member
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
September 11, 2024, 08:36:18 AM
 #14

i mined this coin at the start and now my coin are blocked. i dont know what to do to unlock my coins.

Dear friends,

We have just upgraded the network with new PoW component standing for distributed mining, which is CPU oriented and ASIC resistant, as well. Feel free to pick up detail in the WP: https://github.com/3Dpass/whitepaper/blob/main/3DPass_white_paper_v2.pdf
---

Github: https://github.com/3Dpass/3DP

Guidelines:
Linux and MacOS: https://3dpass.org/mainnet#linux-mac
Docker (Win, Linux, any system): https://3dpass.org/mainnet#docker

Mining leaders board: https://www.3dpassmining.info
Network telemetry: http://telemetry.3dpscan.io

Feel free to participate.
Let me know about any question, I'd be happy to answer.



3DPass (OP)
Jr. Member
*
Offline Offline

Activity: 161
Merit: 5


View Profile WWW
September 11, 2024, 09:38:59 AM
 #15

i mined this coin at the start and now my coin are blocked. i dont know what to do to unlock my coins.

Dear friends,

We have just upgraded the network with new PoW component standing for distributed mining, which is CPU oriented and ASIC resistant, as well. Feel free to pick up detail in the WP: https://github.com/3Dpass/whitepaper/blob/main/3DPass_white_paper_v2.pdf
---

Github: https://github.com/3Dpass/3DP

Guidelines:
Linux and MacOS: https://3dpass.org/mainnet#linux-mac
Docker (Win, Linux, any system): https://3dpass.org/mainnet#docker

Mining leaders board: https://www.3dpassmining.info
Network telemetry: http://telemetry.3dpscan.io

Feel free to participate.
Let me know about any question, I'd be happy to answer.




Use these simple guidelines to unlock: https://3dpass.org/mainnet#unlock
chum_yum
Legendary
*
Offline Offline

Activity: 1128
Merit: 1028



View Profile
September 22, 2024, 10:14:15 AM
 #16

Still accessible.
3DPass (OP)
Jr. Member
*
Offline Offline

Activity: 161
Merit: 5


View Profile WWW
November 02, 2024, 02:09:06 PM
 #17

Hey everyone,

I've got some exciting news to share!

The latest release opened up the possibility for Validators to join freely: https://github.com/3Dpass/3DP/releases/tag/v28
Validators represent the second layer of Nodes in Proof of Scan: https://3dpass.org/features#scanproof-network-structure

--

Explore how to set up Validator: https://3dpass.org/mainnet#validator





Pages: [1]
  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!