algorand / algorand/sandbox

Support custom `consensus.json` files

Đang mở
#61 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
Low Priority Team Lamprey
Ngôn ngữ chính
Shell
Star
241
Fork
160
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## Problem

Algod allows for custom `consensus.json` files as long as they are located in the data directory, but getting a `consensus.json` file to the data directory requires the `copyTo` command and several docker up/downs. It would be nice if there was a CLI argument that allowed you to pass your own `consensus.json` file on `./sandbox up`.

Related to #36.

## Solution

Add a CLI argument to sandbox for copying a `consensus.json` file into sandbox.

Stretch goal: read the consensus file and only overwrite/insert consensus config that was changed; don't replace the entire file. This way users could specify "consensus overrides" instead of replacements, and would make the customization more future-proof.

## Dependencies

None

## Urgency

Not urgent. Would be a nice improvement.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.