Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge Dev Branch into Master for New Hardfork-18 #136

Merged
merged 235 commits into from
Dec 18, 2023
Merged

Merge Dev Branch into Master for New Hardfork-18 #136

merged 235 commits into from
Dec 18, 2023

Conversation

victor-tucci
Copy link
Member

@victor-tucci victor-tucci commented Dec 18, 2023

BNS:

  • BNS process are revamped.
  • Only owners can renew the BNS.
  • Signature verification added to renew mapping.
  • All the process {Bchat, Wallet, Belnet} can map by the single BNS name.
  • Instead of giving the expire for Belnet now the all the service have the expiration.
  • Expiration are calculated by the years.
  • BNS transactions are now in version=1.
  • Query for the BNS are revamped.
  • DB migration done for the new type of BNS.
  • BNS price details are updated to the new value.
  • Have to burn the BDX when owner update.

COIN-BURN:

  • Can burn the BDX by txid/amount

PREPARE-REGISTRATION:

  • Rearranged the prompts for prepare registration, it is now easier for the user to go through the process.
  • Fixed a cursor error which was happening in prepare registration.
  • Added address validation when the user enters the address for operator and contributors.
  • Added title in the beginning of prepare registration.

DECOMMISSION-CREDIT:

  • Initial credit of 3 hours has been added to the master node after version 18.
  • Older version checks have been removed from the wallet.

CONTRIBUTOR-UNLOCK:

  • To prevent the unlocking of stake for small contributors (<2500) within 30 days from registration.

OTHERS:

  • Fee increase
  • Decommission reason
  • The macros in the config file has been reduced.
  • BNS functions added in api module
  • New endpoint added(bns_value_decrypt)

bns_buy_mapping:

usage: bns_buy_mapping [index=[,,...]] [] [years=1y|2y|5y|10y] [owner=] [backup_owner=] [bchat_id=] [belnet_id=] [address=]

curl -X POST http://127.0.0.1:19999/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"bns_buy_mapping","params":{"years":"5y","name":"toretto.bdx","value_bchat":"bdb37ba20b46b5576012eec7547f70eb532276085bb04b6152354de5b187b29807"}}' -H 'Content-Type: application/json'

bns_update_mapping:

usage: bns_update_mapping [index=[,,...]] [] [owner=] [backup_owner=] [bchat_id=] [belnet_id=] [address=] [signature=<hex_signature>]

curl -X POST http://127.0.0.1:19999/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"bns_update_mapping","params":{"name":"toretto.bdx","value_bchat" : "bdff403a579c24edd0b973f9f00211ab3574ec083b2fd97b8b87de0e413e969942","value_belnet":"i85hpmcge4huukrxp8xnobkh7eodhsuy7dy8yphq9zafhcqeeago.bdx"}}' -H 'Content-Type: application/json'

bns_renew_mapping:

usage: bns_renew_mapping [index=[,,...]] [] [years=1y|2y|5y|10y]

curl -X POST http://127.0.0.1:19999/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"bns_renew_mapping","params":{"years":"10y","name":"toretto.bdx"}}' -H 'Content-Type: application/json'

For the CLI : The burn usage is

coin_burn [index=[,,...]] [] <burn=amount | txid>

For the wallet-rpc: The burn usage is

curl -X POST http://127.0.0.1:19999/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"coin_burn","params":{"tx_id" : "9166a47710872ad6cd89f7030ecc882ada2c9920c1d0b587f978ec2e92645fee"}}' -H 'Content-Type: application/json'

curl -X POST http://127.0.0.1:19999/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"coin_burn","params":{"amount":1000000000}}' -H 'Content-Type: application/json'

jeflinfrank and others added 30 commits December 12, 2022 13:06
offline wallet creation fixed
Openssl functions are replaced with libsodium
Tore-tto and others added 26 commits November 1, 2023 15:38
burn process by amount/transaction_id
Refactor variable names for improved clarity
Added Height for HF-18 in testnet
Resolved Inaccuracies in Small Contributor Unlock Days Display
Establish Mainnet HF-18 Height
Verify presence of value for pubkey_ed25519 in handle_ping()
Implement BNS Confirmation Prompt with Conversion to Primary Address from Integrated Address
@sanada08 sanada08 merged commit 930a37c into master Dec 18, 2023
sanada08 added a commit that referenced this pull request Dec 18, 2023
Merge pull request #136 from Beldex-Coin/dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants