Synchronizer Registration
exSat performs synchronizer registration by detecting the OP_RETURN information in the coinbase transactions of the BTC blocks. However, the exSat network starts importing and parsing BTC blocks from specified block height, such as 840,000 for BTC Mainnet.
During the time it takes to catch up from specified block height to the latest BTC block, mining pools cannot add OP_RETURN to the coinbase transactions of these historical BTC blocks. Therefore, synchronizers need to use different registration methods at different stages.
During the catching up: register for the whitelist via GitHub
During the period to catch-up the block, Mining pools need to provide their mining address and exSat synchronizer account , and an optional reward account address to the exSat Foundation. The exSat Foundation will register them as a Synchronizer through a whitelist method.
To provide your mining address: Submit an issue with your github account to provide the mining addresses in exSat's repo. After getting the info, exSat will manually verify and add the relevant addresses to the whitelist.
Here's the template of the issue with fabricated data.
All information marked with an asterisk (*) is required.
Logo Supports PNG and SVG. The recommended minimum size for Logo is 128*128 pixels and the file size should be less than or equal to 1MB. Otherwise, the image will not be merged, and a comment will be left to remind the user to re-upload the logo.
Please note that if you have multiple mining addresses, please provide them all in the issue , as the requirement for pools to have mined a block within 72 hours to submit BTC blocks to exSat is still in effect during this period. Moreover, if the blocks you upload are the ones you mined, your $XSAT reward can reach up to 50% of the block reward.
If you didn't supply reward account in the "Registration info" part, you could also configure the reward account via running the
After catched up: Register on-chain via OP_RETURN
Once the BTC data on exSat catches up to the real-time BTC block data, mining pools can use the OP_RETURN method to register as a Synchronizer. Mining pools must add an OP_RETURN to the coinbase transaction of each block they produced. The format of the OP_RETURN is as follows:
OP_RETURN + LENGTH + EXSAT + VERSION + EXSAT SIGN ADDRESS
OP_RETURN: 0x6a
LENGTH: 1 byte, 0x12, the total length (in bytes) of the content excluding OP_RETURN and LENGTH
EXSAT: 0x4558534154 (UTF-8 encoding)
VERSION: 0x01
EXSAT SIGN ADDRESS: The exSat signer address, which is the account registered via exSat client’s program. For example, if the account name is xsatsync.sat, the encoded content would be: 1712001312180d021f120013. Link of the reference code to this for encoding and decoding.
Example:
Concatenate the above content to obtain: 6a124558534154011712001312180d021f120013
Refer to an on-chain transaction:http://mempool.regtest.exactsat.io/zh/tx/98ddd977f8b350455e26f6e2646a4fcad86d682a520f31ddfbe6e8268f6eefe
Online Tool : Here is a online tool that can help you quickly generate the content of OP_RETURN. You just need to enter your exsat synchronizer account to get the complete OP_RETURN content.
For example, if you enter xsatsync.sat and click the "Generate OP_RETURN content" button, the complete OP_RETURN encoded content will be generated: 6a124558534154011712001312180d021f120013.
Last updated