algorand / algorand/sandbox

Support custom `consensus.json` files

Aberta
#61 0 comentários 1 reação 0 responsáveis Ver no GitHub
Low Priority Team Lamprey
Linguagem predominante
Shell
Estrelas
241
Forks
160
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

## 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.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.