Skip to content

Commit

Permalink
doc: add missing ADR files (#976)
Browse files Browse the repository at this point in the history
  • Loading branch information
renauter authored Jun 5, 2024
1 parent 02dff00 commit 4bb2e52
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/architecture/0020-rework-dao-voting.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# 20. Harden closing of a DAO motion voting

Date: 2024-05-02

## Status

Accepted

## Context

See [here](https://github.com/threefoldtech/tfchain/issues/889) for more
details.

## Decision

In `propose()` extrinsic, set a minimum threshold `MotionMinThreshold` of 5
votes for a motion to be proposed and if threshold is lower then return error
`TresholdTooLow`. Also in `propose()`extrinsic, add a minimum motion duration of
1 day and return error `InvalidProposalDuration` if optional duration is not set
in the 1 day - 30 days interval.
18 changes: 18 additions & 0 deletions docs/architecture/0021-allow-hdd-only-nodes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# 21. Allow 'only hdd' nodes to register on chain

Date: 2024-05-22

## Status

Accepted

## Context

See [here](https://github.com/threefoldtech/tfchain/issues/967) for more
details.

## Decision

Similar to what already exists for SSD, add a minimum HDD size requirement (also
100 GB) on `resources.validate_hru()`. Then, on validating, make sure node has
at least 1 minimum storage capacity available.

0 comments on commit 4bb2e52

Please sign in to comment.