Bitcoin Forum
January 20, 2026, 12:54:30 AM *
News: Latest Bitcoin Core release: 30.2 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 [5]  All
  Print  
Author Topic: Running Bitok - 0.3.19 Mainnet  (Read 976 times)
elvisjedusor (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 1


View Profile
January 19, 2026, 03:30:35 PM
Last edit: January 19, 2026, 06:31:19 PM by elvisjedusor
 #81

Bitok 0.3.19.6 release

I’ve implemented an extended mining RPC with BIP22 support.
This adds modern mining interfaces without changing consensus, block rules, or difficulty behavior.

What’s included:

Infrastructure
Configuration file support (bitok.conf)
Argument parsing helpers (GetArg, GetIntArg, GetBoolArg)
Proper platform-specific data directory handling
RPC security
HTTP Basic Authentication
IP whitelist with CIDR support
Configurable RPC port (-rpcport, default 8332)
Configurable bind address (-rpcbind, default 127.0.0.1)
Proper HTTP status codes for auth failures

Mining support
getblocktemplate (BIP22) for pools
submitblock for block submission
getmininginfo for network and mining stats
Legacy getwork retained for compatibility
Block template creation and network hashrate estimation

Configuration
rpcuser, rpcpassword, rpcallowip, rpcport
Auto-loaded on daemon startup

Third-party miners can be used. Solo mining tested with cpuminer-opt (https://github.com/JayDDee/cpuminer-opt). Pools can now integrate Bitok directly. This should reduce variance during periods of higher difficulty while keeping the protocol intact.

Links

More info about implementation: https://github.com/elvisjedusor/bitok/blob/master/RPC_MINING_IMPLEMENTATION.md

Solo mining guide: https://github.com/elvisjedusor/bitok/blob/master/SOLO_MINING.md

Pool integration guide: https://github.com/elvisjedusor/bitok/blob/master/POOL_INTEGRATION.md

Full RPC API Docs: https://github.com/elvisjedusor/bitok/blob/master/RPC_API.md

User docs: https://bitokd.run/docs

Download latest release:

https://bitokd.run/download

https://github.com/elvisjedusor/bitok/releases/tag/0.3.19.6


hhuaqing
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
January 19, 2026, 04:48:16 PM
 #82

cpuminer-avx512.exe -a yespower --param-n=2048 --param-r=32 --param-key="BitokPoW" -o http://127.0.0.1:8332 -u 123456 -p 123456
已经成功运行,但我还需要把收益统一到一个钱包地址,我还应该加什么参数
elvisjedusor (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 1


View Profile
January 19, 2026, 05:26:43 PM
 #83

cpuminer-avx512.exe -a yespower --param-n=2048 --param-r=32 --param-key="BitokPoW" -o http://127.0.0.1:8332 -u 123456 -p 123456
已经成功运行,但我还需要把收益统一到一个钱包地址,我还应该加什么参数

You don’t set a fixed mining address when solo mining. Each solved block generates a new coinbase address automatically. This is intentional and for privacy.

That’s how Bitcoin originally worked. Later versions of Bitcoin changed this behavior. Bitok does not.

All generated coinbase addresses belong to your wallet and are included in your balance. If you want to consolidate funds to a single address, you can do so manually later. That is optional.

Bitok preserves Satoshi’s original privacy model.
cyferfonix
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
January 19, 2026, 11:00:47 PM
 #84

Bitok currently exposes the original getwork interface from Bitcoin 0.3.x. It works as designed, but modern miners and pools expect block templates and extranonce support.

Extending the mining API does not change core or any consensus rules. It only affects how work is distributed to miners.

I’m planning to implement a more complete mining API so that:

modern pools can support Bitok

third-party miners can be used

variance can be reduced during periods like this

The protocol remains intact. The rules remain the same.
This is strictly an interface-level improvement.

I forsesee great issues with the difficulty re targeting. Consider running through a model where a large percentage of the hash rate drops off.

this is satoshi's vision. built by satoshi. works like satoshi.

works like gold and moves like gold

lets move the worlds

i like the way this bitcoin operates. (no changes, the original vision)
Pages: « 1 2 3 4 [5]  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!