Bitcoin Forum
May 12, 2024, 01:58:20 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: BitcoinJ porting to scrypt coin and enable with auxpow  (Read 2066 times)
temple (OP)
Hero Member
*****
Offline Offline

Activity: 1400
Merit: 538


Crypto Casino & Sportsbook


View Profile
January 14, 2015, 06:22:58 PM
Last edit: March 06, 2023, 09:35:28 AM by temple
 #1

I need some help, keeping me stuck for a long time:

The coin source list in github:
https://github.com/9cat/templecoin

I based this code to get auxpow enabled: https://github.com/united-scrypt-coin-project/unitedscryptcoin/compare/fe7b87a9761d9819bc2dcb6796b46b17fa775a5c...merged-mining

and also Doge's auxpow :
https://github.com/dogecoin/dogecoin/pull/584


thanks to @hashengineering to give the reference about auxpow:
https://github.com/sidhujag/devcoin-android/tree/master/devcoinj/core/src/main/java/com/google/devcoin/core


QUESTIONS:
1. Does the unitedscryptcoin's auxpow implementation actually miss to take care about filterbloom, filterblock, merkleblock, inv, or other parts?
2. I follow the devcoin to implement the auxpow for templecoin, however, it is not able to verify for merkel block parsing.


3. Based on the protocol, https://en.bitcoin.it/wiki/Merged_mining_specification#Aux_work_merkle_tree. There is no merkleblock def., only the merkle branch. Are they the same thing or something else?  

4. The header is not 80 and grows like 3000~5000 bytes, is it really healthy for a blockchain like that?

5. I found that Dogecoin does not actually implement the auxpow in dogecoinj-new , how can it support auxpow blocks that currently are already enabled.


If anyone can help on this or provide me another update for the auxpow implementation for bitcoinj (or scrypt base), it will be appreciated.




.


..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..PLAY NOW..
1715479100
Hero Member
*
Offline Offline

Posts: 1715479100

View Profile Personal Message (Offline)

Ignore
1715479100
Reply with quote  #2

1715479100
Report to moderator
1715479100
Hero Member
*
Offline Offline

Posts: 1715479100

View Profile Personal Message (Offline)

Ignore
1715479100
Reply with quote  #2

1715479100
Report to moderator
1715479100
Hero Member
*
Offline Offline

Posts: 1715479100

View Profile Personal Message (Offline)

Ignore
1715479100
Reply with quote  #2

1715479100
Report to moderator
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715479100
Hero Member
*
Offline Offline

Posts: 1715479100

View Profile Personal Message (Offline)

Ignore
1715479100
Reply with quote  #2

1715479100
Report to moderator
1715479100
Hero Member
*
Offline Offline

Posts: 1715479100

View Profile Personal Message (Offline)

Ignore
1715479100
Reply with quote  #2

1715479100
Report to moderator
mappum
Member
**
Offline Offline

Activity: 82
Merit: 13


View Profile
January 17, 2015, 09:02:11 PM
 #2

I've implemented AuxPoW support, and network params for Litecoin and Dogecoin in my fork of bitcoinj: github.com/mappum/altcoinj
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!