您现在的位置:kastop>> Kas信息 Kaspa应用>>正文内容

KRC20系统的全新架构已就绪,即将进行硬分叉升级

嗨,KRC20系统的全新架构已就绪,即将进行硬分叉升级。


对于采用自主部署节点的系统,您需要将KRC20节点版本升级至v3.01。


下载:

```https://github.com/kasplex/go-krc20d/releases/tag/krc20d-3.01.260403```


由于本次更新采用了完全不同的部署方式,请参阅以下文档(推荐使用docker-compose)

```https://github.com/kasplex/go-krc20d/blob/main/README.md```


硬分叉切换点基于daascore >= 408300500。


KRC-20 Node System For Kaspa Ecosystem


Operating Environment

OS - 64-bit Linux (Ubuntu24.04 recommended)

HW - 64-bit little-endian

  • 8 cores, 16GB RAM, 600GB SSD at least

  • 16 cores, 32GB RAM, 1TB NVMe recommended


Download the latest version

https://github.com/kasplex/go-krc20d/releases


Deploying using binary

A usable kaspa node for gRPC is required.

Mainnet:

./krc20d --kaspad-grpc=127.0.0.1:16110

Testnet-10:

./krc20d --testnet --kaspad-grpc=127.0.0.1:16210

Show startup parameters:

./krc20d --help

KASPlex KRC-20 Node v3.01.260403
Usage:
  krc20d [OPTIONS]

Application Options:
      --configfile=          Use the specified configuration file; command-line arguments will be ignored.
      --showconfig           Show all configuration parameters.
      --sequencer=           Sequencer type; "kaspad" or "archive". (default: kaspad)
      --hysteresis=          Number of DAA Scores hysteresis for data scanning. (default: 3)
      --loopdelay=           Scan loop delay in milliseconds. (default: 550)
      --blockgenesis=        Genesis block hash.
      --daascorerange=       Valid DAA Score range.
      --seedisd=             Seed URL for Initial State Download (ISD). (default: https://seed-krc20.kasplex.org)
      --fullisd              Fully synchronize historical data (if supported by the ISD seed).
      --rollbackoninit=      Number of DAA Scores to rollback on initialization.
      --checkcommitment      Check state commitment on initialization.
      --debug=               Debug information level; [0-3] available. (default: 2)
      --testnet              Apply testnet parameters.
      --kaspad-grpc=         Kaspa node gRPC endpoint (comma-separated for multiple). (default: 127.0.0.1:16110)
      --cassa-host=          Cassandra cluster host (comma-separated for multiple).
      --cassa-port=          Cassandra cluster port.
      --cassa-user=          Cassandra cluster username.
      --cassa-pass=          Cassandra cluster password.
      --cassa-crt=           Cassandra cluster SSL certificate.
      --cassa-space=         Cassandra cluster keyspace name.
      --rocks-path=          RocksDB data path. (default: ./data)
      --rocks-dtl-index=     Maximum DAA Score lifetime for indexed data. (default: 86400000)
      --rocks-dtl-failed=    Maximum DAA Score lifetime for indexed failed transactions. (default: 8640000)
      --rocks-indexdisabled  Disable data indexing.
      --rocks-compactoninit  Perform compaction on RocksDB initialization (may take a long time).
      --lyncs-numslot=       Number of parallel slots for the Lyncs engine. (default: 8)
      --lyncs-maxinslot=     Maximum number of tasks per slot for the Lyncs engine. (default: 128)
      --api-host=            Listen host for the API server. (default: 0.0.0.0)
      --api-port=            Listen port for the API server. (default: 8005)
      --api-timeout=         Processing timeout for the API server in seconds. (default: 5)
      --api-connmax=         Maximum number of concurrent connections for the API server. (default: 500)
      --api-port-isd=        Listen port for the ISD server. (default: 8006)
      --api-connmax-isd=     Maximum number of concurrent connections for the ISD server. (default: 4)
      --api-fullisd          Enable ISD server for full historical data.
      --api-allow-unsync     Enable API server when not synchronized.
      --api-allow-debug      Enable debug API.

Help Options:
  -h, --help                 Show this help message


Deploying using docker-compose

After startup, a separate kaspa node will be deployed simultaneously, and no additional node needs to be provided; the startup parameters of kaspad and krc20d can be changed in the yml file.

Mainnet:

docker compose -f ./compose.mainnet.yml up -d

Testnet-10:

docker compose -f ./compose.testnet.yml up -d


API Reference

https://docs-kasplex.gitbook.io/krc20/public-node-api





感动 同情 无聊 愤怒 搞笑 难过 高兴 路过
【字体: 】【收藏】【打印文章】 【 打赏 】 【查看评论

相关文章

    没有相关内容