Skip to content

Commit 85fa377

Browse files
committed
Merge branch 'dev' into add-gas-atom
2 parents 43310ae + 32959e9 commit 85fa377

File tree

58 files changed

+2379
-348
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+2379
-348
lines changed

.github/workflows/get_data_lint_files_deploy.yml

+4
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ jobs:
6565
- name: Prepare data files for GPTs
6666
run: node utils/js/create_data_for_gpts.js
6767

68+
- name: Ensure change logs are updated
69+
if: github.base_ref == 'main' || github.ref == 'refs/heads/main'
70+
run: node utils/js/ensure_changelog_update.js
71+
6872
- name: Set lint-fix branch name
6973
id: vars
7074
shell: bash

data-for-gpts/all-content.txt

+382-25
Large diffs are not rendered by default.

data-for-gpts/antara-content.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -14073,7 +14073,7 @@ ROGUE_satoshis = gold * gold * dungeon_level_on_exit * 10
1407314073
ROGUE_satoshis = gold * gold * dungeon_level_on_exit * 20
1407414074
```
1407514075

14076-
The conversion is facilitated using globally locked `ROGUE` coins. The funds in this global vault automatically accrue through asset-chain activity. In the event that there are not enough globally locked funds at the time the method is executed, the player must simply wait until the funds are generated via automated methods. You can encourage this fund to grow more quickly by encouraging other players and people to transact using ROGUE, as transactions feed the fund.
14076+
The conversion is facilitated using globally locked `ROGUE` coins. The funds in this global vault automatically accrue through smart-chain activity. In the event that there are not enough globally locked funds at the time the method is executed, the player must simply wait until the funds are generated via automated methods. You can encourage this fund to grow more quickly by encouraging other players and people to transact using ROGUE, as transactions feed the fund.
1407714077

1407814078
The method returns a `hex` value. While most methods in the Komodo API require the user/developer to broadcast the `hex` value using [sendrawtransaction](/smart-chains/api/rawtransactions/#sendrawtransaction), the Rogue module broadcasts automatically.
1407914079

@@ -14308,7 +14308,7 @@ In multi-player mode, the `highlander` method is available either to the charact
1430814308

1430914309
The character that successfully executes the `highlander` method receives an increased ratio of conversion from in-game gold to `ROGUE` coins. The ratio depends upon the mode of gameplay; see below for further details.
1431014310

14311-
The conversion is facilitated using globally locked `ROGUE` coins. The funds in this global vault automatically accrue through asset-chain activity. In the event that there are not enough globally locked funds at the time the `highlander` method is executed, the player must wait until the funds are generated via automated methods. You can encourage this fund to grow more quickly by encouraging other players and people to transact using ROGUE, as transactions feed the fund.
14311+
The conversion is facilitated using globally locked `ROGUE` coins. The funds in this global vault automatically accrue through smart-chain activity. In the event that there are not enough globally locked funds at the time the `highlander` method is executed, the player must wait until the funds are generated via automated methods. You can encourage this fund to grow more quickly by encouraging other players and people to transact using ROGUE, as transactions feed the fund.
1431214312

1431314313
#### Rewards in Single-Player Mode
1431414314

@@ -22516,7 +22516,7 @@ Make sure that the total `ac_supply` of this Smart Chain is fairly large. `77777
2251622516

2251722517
Recall also that a user must have a `pubkey` enabled when interacting with an Antara-related Smart Chain. [View this linked material for an explanation.](/antara/tutorials/understanding-antara-addresses/)
2251822518

22519-
If desired, the reader may use an existing Smart Chain instead of a temporary educational chain. [Follow this link](https://github.com/komodoplatform/komodo/blob/master/src/assetchains.old) for a list of asset-chain launch parameters.
22519+
If desired, the reader may use an existing Smart Chain instead of a temporary educational chain. [Follow this link](https://github.com/komodoplatform/komodo/blob/master/src/assetchains.old) for a list of smart-chain launch parameters.
2252022520

2252122521
#### Create a Token to Represent an External Cryptocurrency
2252222522

data-for-gpts/atomicdex-content.txt

+264-9
Large diffs are not rendered by default.

data-for-gpts/historical-content.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -2020,7 +2020,7 @@ ten minutes, and the Bitcoin hash rate’s protection in approximately twenty to
20202020
minutes.
20212021

20222022
Another difference between the KMD main chain and an asset chain is that the
2023-
notary nodes only mine the KMD main chain. Asset-chain developers are responsible
2023+
notary nodes only mine the KMD main chain. smart-chain developers are responsible
20242024
to create any required network of miners to process the asset chain’s transactions.
20252025
This does not need to be a full network of mining farms, such as those in Bitcoin.
20262026
Rather, it only needs to be enough computing power to process transactions, and
@@ -2328,7 +2328,7 @@ will wait for the next few steps to occur.
23282328
The reason for the wait is that a blockchain’s essence depends upon existing not
23292329
in isolation, but in a network of multiple devices connected. This is the nature of
23302330
decentralization. Komodod will wait until it receives a signal from another device,
2331-
thus indicating that it has a peer with which to form the asset-chain network.
2331+
thus indicating that it has a peer with which to form the smart-chain network.
23322332

23332333
#### The Entire Coin Supply is Distributed in the Genesis Block
23342334

@@ -3543,7 +3543,7 @@ necessary. We are putting all PAX endeavors on hold at this time.
35433543
## Smart Contracts on the Komodo Platform
35443544

35453545
There are several smart-contract options available in the Komodo ecosystem. The
3546-
options based on the Bitcoin protocol have been included with our technology, and indeed even with Bitcoin, since the beginning. We also recently released Crypto Conditions, Merkle Root of Merkle Root (MoM) notarizations, and Asset Chain Customizations. These provide enhanced smart-contract and asset-chain functionality. All are
3546+
options based on the Bitcoin protocol have been included with our technology, and indeed even with Bitcoin, since the beginning. We also recently released Crypto Conditions, Merkle Root of Merkle Root (MoM) notarizations, and Asset Chain Customizations. These provide enhanced smart-contract and smart-chain functionality. All are
35473547
still in beta stages.
35483548

35493549
### Bitcoin-protocol Based Smart Contracts

data-for-gpts/komodefi-api/all-api-content.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -3638,7 +3638,7 @@ Activating coins in 'lite mode' means you don't need to have a native coin daemo
36383638
KomoDeFi is a true cross chain, cross protocol Decentralized Exchange (DEX), allowing for trades between coins and tokens across many platforms and ecosystems, such as:
36393639

36403640
* UTXO based coins (e.g. DOGE, BTC, ZEC, LTC, DASH, DGB)
3641-
* [Ethereum (ETH)](https://ethereum.org/en/) & [ERC20 tokens](https://etherscan.io/tokens)
3641+
* [Ethereum (ETH)](https://ethereum.org/) & [ERC20 tokens](https://etherscan.io/tokens)
36423642
* [Binance Coin (BNB)](https://coinmarketcap.com/currencies/bnb/) & [BEP20](https://www.coingecko.com/en?asset_platform_id=binance-coin) tokens
36433643
* [QTUM](https://qtum.org) & [QRC20 tokens](https://qtum.info/qrc20)
36443644
* [Polygon (MATIC)](https://polygon.technology/) & [PLG20 tokens](https://polygonscan.com/tokens)

data-for-gpts/komodefi-api/legacy-api-content.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1347,7 +1347,7 @@ Activating coins in 'lite mode' means you don't need to have a native coin daemo
13471347
KomoDeFi is a true cross chain, cross protocol Decentralized Exchange (DEX), allowing for trades between coins and tokens across many platforms and ecosystems, such as:
13481348

13491349
* UTXO based coins (e.g. DOGE, BTC, ZEC, LTC, DASH, DGB)
1350-
* [Ethereum (ETH)](https://ethereum.org/en/) & [ERC20 tokens](https://etherscan.io/tokens)
1350+
* [Ethereum (ETH)](https://ethereum.org/) & [ERC20 tokens](https://etherscan.io/tokens)
13511351
* [Binance Coin (BNB)](https://coinmarketcap.com/currencies/bnb/) & [BEP20](https://www.coingecko.com/en?asset_platform_id=binance-coin) tokens
13521352
* [QTUM](https://qtum.org) & [QRC20 tokens](https://qtum.info/qrc20)
13531353
* [Polygon (MATIC)](https://polygon.technology/) & [PLG20 tokens](https://polygonscan.com/tokens)

data-for-gpts/smart-chains-content.txt

+111-9
Original file line numberDiff line numberDiff line change
@@ -13480,9 +13480,116 @@ export const description = "Find the Changelogs of various versions of Komodo da
1348013480

1348113481
# Change Log
1348213482

13483-
Version 0.5.0 of the Komodo daemon includes the following changes.
13484-
13485-
## List of Changes
13483+
## v0.8.1 \[Falkor]
13484+
13485+
* This update is mandatory and includes several security fixes, code refactoring, optimizations, and other improvements.
13486+
* Update Rust compiler to 1.69.
13487+
* Add notarisations specific unit tests.
13488+
* Refactoring the legacy code that is associated with PAX, KV, and ratification transactions has resulted in a slight decrease in block verification and overall synchronization time.
13489+
* Bump libcurl to 8.4.0 ([CVE-2023-38545](https://github.com/advisories/GHSA-7xw9-w465-6x42), [CVE-2023-38546](https://github.com/advisories/GHSA-x3qx-m3c2-qfhx) fix).
13490+
* Fix the value pools (sprout, sapling) calculation issue.
13491+
* Minor fixes and updates.
13492+
13493+
## v0.8.0-beta1 \[Viserion]
13494+
13495+
* This is a mandatory update, Komodo Season 7 HF planned on height `3484958` for KMD, and timestamp `1688132253` (`Fri Jun 30 2023 13:37:33 GMT+0000`) for assetchains. All wallets/nodes should be updated to the latest (`0.8.0`) software to continue following mainnet.
13496+
* Reduce AUR 5% -> 0.01% (start from S7), as it announced in [KIP-0001](https://github.com/KomodoPlatform/kips/blob/main/kip-0001.mediawiki).
13497+
* Memory Usage Improvement: The memory usage of `komodod` has been reduced by not keeping Equihash solutions for all block headers in memory.
13498+
* Node Startup Performance Improvements.
13499+
* Security fixes.
13500+
* Upgrade project dependencies (libevent).
13501+
* Add `z_gettreestate` rpc.
13502+
* Minor fixes and updates.
13503+
13504+
## v0.7.2 \[Longpan]
13505+
13506+
* This is a mandatory update, Komodo Season 6 HF planned on height 2963330 for KMD, and timestamp 1656077853 (Fri Jun 24 2022 13:37:33 GMT+0000) for assetchains. All wallets/nodes should be updated to the latest (0.7.2) software to continue following mainnet.
13507+
* Fix build with new glibc 2.34 on Linux platforms.
13508+
* Fix unoptimized depends build (bdb, boost, protobuf, zeromq).
13509+
* Remove Verus (VRSC) legacy code: VerusHash, VerusHash 1.1, Verus POS/stake, etc. Chains which used VerusHash as primary algo, like LUMBER will be incompatible with new version of daemon.
13510+
* Code refactoring. Perfomance boost on some operations.
13511+
* Restore -exchange command line arg for an exchanges (this will disable interest/reward calculations and will set nLockTime in newly created transactions to zero).
13512+
* Fix / refactor komodo\_block\_prg and komodo\_block\_unlocktime internals logic, get rid of VerusHash usage in it. Starting from this release all chains using -ac\_timeunlockfrom, -ac\_timeunlockto, -ac\_timelockgte will be incompatible with new daemon (there was no well-known public blockchains using these features). Newly created blockchains (ACs) using these parameters will work without any limitations on 0.7.2 and higher versions of software.
13513+
* hf22 / hfnet consensus changes and fixes, related to well-known issues of long-gaps between blocks, disappearing txes from mempool in-case of big gaps between blocks, etc. These changes aimed to improve the network stability, help to get rid of such gaps, and make txes propagation more reliable and stable.
13514+
* Minor fixes and updates.
13515+
* version bump
13516+
13517+
## v0.7.1 \[Hydra]
13518+
13519+
* general refactoring
13520+
* general enhancements
13521+
* update dns seed
13522+
* rm dead chains
13523+
* bump version
13524+
13525+
## v0.7.0 \[Medusa]
13526+
13527+
* disable vSolutions size > 1 after HF
13528+
* fix -disablewallet arg on getblocktemplate caused daemon crash
13529+
* add zHTLC functionality
13530+
* update assetchains file
13531+
* add S5 pubkeys and HF bits
13532+
* update CI
13533+
* bump version
13534+
* general enhancements
13535+
13536+
Pools and miners please note:
13537+
13538+
* we recommend running your KMD mining node with `-minrelaytxfee=0.000035 -opretmintxfee=0.004`
13539+
13540+
## v0.6.1 \[Draconic Serpent]
13541+
13542+
* CC improvements
13543+
* Bump deprecation height
13544+
* added asmap utility
13545+
* remove inactive ACs
13546+
* tar: unpack as current user
13547+
* bump version
13548+
13549+
## v0.6.0 \[Draconic Serpent]
13550+
13551+
* fix initial sync
13552+
* rm template matching and pseudo opcodes
13553+
* fix notarization test segfault
13554+
* update CI/CD
13555+
* disable THROW\_IF\_SYNCING
13556+
* added CBufferedFile fix (thx LarryRuane)
13557+
* added unit test (streams\_tests.cpp rewritten for Google C++ Testing Framework)
13558+
* additional komodo\_block\_load test
13559+
* remove invalid TXs (reward related) from mempool
13560+
* update openssl
13561+
* avoid duplicate getheaders requests
13562+
* fix linearize tool
13563+
* fix fingerprint encoding
13564+
* remove time adjustment
13565+
* add dPoW S4 array and activation height/timestamp
13566+
* bump KMD version
13567+
13568+
Pools and miners please note:
13569+
13570+
* we recommend running your KMD mining node with `-minrelaytxfee=0.000035 -opretmintxfee=0.004`
13571+
13572+
## v0.5.2 \[Obsidian Dragon]
13573+
13574+
* Update boost
13575+
* Update libcurl
13576+
* Update ccache
13577+
* Update proton
13578+
* Update seeds
13579+
* Bump min protocol version
13580+
* Bump protocol version
13581+
* Remove old seeds
13582+
* Add tests and CI
13583+
* Update univalue
13584+
* Bump KMD version
13585+
* Remove CEAL, CHAIN, COMMOD, DSEC, KMDICE, BNTN, EQL, DION, PRLPY
13586+
* Add `opretmintxfee` parameter
13587+
13588+
Pools and miners please note:
13589+
13590+
* we recommend restarting your KMD mining node with `-minrelaytxfee=0.000035 -opretmintxfee=0.004`
13591+
13592+
## v0.5.0 \[Obsidian Dragon]
1348613593

1348713594
* zMempool fix
1348813595
* KMDnuke fix
@@ -13491,11 +13598,6 @@ Version 0.5.0 of the Komodo daemon includes the following changes.
1349113598
* CC fixes and additions
1349213599
* add season 3.5 pubkey array
1349313600
* protocol version bump
13494-
* update libsodium 1.0.18
13495-
* update libgmp URL
13496-
* update libsnark URL
13497-
* update channelsCC test
13498-
* use kmd metrics art
1349913601
export const title = "Introduction to Smart Chain Documentation";
1350013602
export const description =
1350113603
"Discover the comprehensive Smart Chain technical documentation, covering installation, setup, tutorials, and API commands for developers.";
@@ -17969,7 +18071,7 @@ export const description =
1796918071
* The purpose of this document is to give a better understanding of Smart Chain parameters via examples. These chains are grouped simply by the number of parameters used in customizing each. As new parameters are added, the new combinations will be tested and added here.
1797018072
* Please see [Creating a new Blockchain using Komodo Platform](./create-a-default-smart-chain.html) and [Parameters to customize Blockchains created using Komodo Platform](/antara/setup/antara-customizations) if you haven't already.
1797118073
* All chains must have at least `ac_name` and `ac_supply` set. The `ac_pubkey` parameter can be used with any of these chains. If `ac_perc` is not set, the only effect `ac_pubkey` has is to have the genesis block be mined to the pubkey that has been specified. The parameters `ac_name` , `ac_supply` , `ac_pubkey` are not counted when grouping based on the `Number of parameters`.
17972-
* The values of parameters other than `ac_name` in these examples are completely arbitrary. The names of these example-asset-chains are assigned based on how a chain is customized and its grouping.
18074+
* The values of parameters other than `ac_name` in these examples are completely arbitrary. The names of these example-smart-chains are assigned based on how a chain is customized and its grouping.
1797318075

1797418076
## Number of parameters: 1
1797518077

data-for-gpts/start-here-content.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1503,7 +1503,7 @@ We invite the reader to consider that as each Smart Chain can support thousands
15031503

15041504
Naturally, as each level of notarization takes time to perform, there is an additional delay for Smart Chains as compared to the KMD main chain. A Smart Chain’s history is notarized into the KMD main chain approximately every ten minutes, assuming constant activity. This notarization will then be pushed through the notarization process into the chosen PoW network (Bitcoin). We estimate that a transaction performed on a Smart Chain will receive the KMD main chain’s protection within approximately ten minutes, and will receive the Bitcoin hash rate’s protection in approximately twenty to thirty minutes.
15051505

1506-
Another difference between the KMD main chain and a Smart Chain is that the notary nodes only mine the KMD main chain. Asset-chain developers are responsible to create any required network of miners to process their Smart Chain’s transactions.
1506+
Another difference between the KMD main chain and a Smart Chain is that the notary nodes only mine the KMD main chain. smart-chain developers are responsible to create any required network of miners to process their Smart Chain’s transactions.
15071507

15081508
This does not need to be a full network of mining farms, such as those in Bitcoin/Litecoin. Rather, power only needs to be of a level necessary to process transactions, and to provide any desired level of hash-rate security. For a small business with intermittent periods of transaction activity, a single, dedicated, full-time server may be enough. Larger businesses can scale as desired and can also work to attract a network of freelance miners.
15091509

0 commit comments

Comments
 (0)