Skip to content

Commit

Permalink
Markdown link linter config
Browse files Browse the repository at this point in the history
  • Loading branch information
newhoggy committed Feb 20, 2023
1 parent 034f39a commit 6208ad2
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 9 deletions.
2 changes: 1 addition & 1 deletion doc/getting-started/understanding-config-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ The `genesis.json` file looks like the one below.
"securityParam": 2160
}
```
Here is a brief description of each parameter. You can learn more in the [spec](https://github.com/input-output-hk/cardano-ledger-specs/tree/master/shelley/chain-and-ledger/executable-spec).
Here is a brief description of each parameter. You can learn more in the [spec](https://github.com/input-output-hk/cardano-ledger/tree/master/eras/shelley/impl).


| PARAMETER | MEANING |
Expand Down
4 changes: 2 additions & 2 deletions doc/reference/byron-genesis.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Byron genesis data format

Please see [the byron ledger spec](https://hydra.iohk.io/job/Cardano/cardano-ledger-specs/byronLedgerSpec/latest/download-by-type/doc-pdf/ledger-spec) which will describe the changes and deviations of these values in more detail while moving from the Byron era to the OBFT era.
Please see [the byron ledger spec](https://github.com/input-output-hk/cardano-ledger/releases/latest/download/byron-ledger.pdf) which will describe the changes and deviations of these values in more detail while moving from the Byron era to the OBFT era.

Let's start with an example:

Expand Down Expand Up @@ -101,7 +101,7 @@ slot duration, in milliseconds.
#### softforkRule
Values defining softfork resolution rule. When the stake belonging to block issuers, issuing a given block version, is greater than the current softfork resolution threshold, this block version is adopted. The current softfork resolution threshold is determined as follows: If a proposal is confirmed at the `c`-th epoch, softfork resolution threshold at a later `t`-th epoch will be `max minThd (spInitThd - (t - c) * spThdDecrement)`.

The proportion of ADA that these threshold values (`initThd`,`minThd`,`thdDecrement`) represent is calculated by dividing by 10<sup>15</sup>. This is an artifact of the old implementation as it would make more sense if the proportion was calculated by the total amount of circulating ADA which is 45 x 10<sup>15</sup>. Note that in the specification we only make use of the `minThd`. See [here](https://hydra.iohk.io/build/1084792/download/1/ledger-spec.pdf) in section 6.5.4 Adoption threshold.
The proportion of ADA that these threshold values (`initThd`,`minThd`,`thdDecrement`) represent is calculated by dividing by 10<sup>15</sup>. This is an artifact of the old implementation as it would make more sense if the proportion was calculated by the total amount of circulating ADA which is 45 x 10<sup>15</sup>. Note that in the specification we only make use of the `minThd`. See [here](https://github.com/input-output-hk/cardano-ledger/releases/latest/download/byron-ledger.pdf) in section 6.5.4 Adoption threshold.

- `initThd` - Initial threshold (right after proposal is confirmed).
- `minThd` - minimal threshold (i.e. threshold can't become less than this one).
Expand Down
2 changes: 1 addition & 1 deletion doc/reference/native-tokens/01-multi-assets.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Multi-asset support

From the Mary ledger upgrade and onwards, Cardano supports [multi-assets](https://hydra.iohk.io/job/Cardano/cardano-ledger-specs/specs.shelley-ma/latest/download-by-type/doc-pdf/shelley-ma), also referred to as a *native tokens* feature. This feature extends the ledger’s accounting infrastructure (originally designed for processing ada-only transactions) to accommodate transactions using a range of assets. These assets include ada and a variety of user-defined token types, the mixture of which can be transacted in a single tx output.
From the Mary ledger upgrade and onwards, Cardano supports [multi-assets](https://github.com/input-output-hk/cardano-ledger/releases/download/cardano-ledger-spec-2023-01-18/mary-ledger.pdf), also referred to as a *native tokens* feature. This feature extends the ledger’s accounting infrastructure (originally designed for processing ada-only transactions) to accommodate transactions using a range of assets. These assets include ada and a variety of user-defined token types, the mixture of which can be transacted in a single tx output.

## What is a multi-asset?

Expand Down
2 changes: 1 addition & 1 deletion doc/reference/tx-metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,5 +163,5 @@ Detailed Schema:

Here are some materials for further reading:

+ Tx metadata motivation and use: [Design Specification for Delegation and Incentives in Cardano](https://hydra.iohk.io/build/3744897/download/1/delegation_design_spec.pdf), p 53.
+ Tx metadata motivation and use: [Design Specification for Delegation and Incentives in Cardano](https://github.com/input-output-hk/cardano-ledger/releases/latest/download/shelley-delegation.pdf), p 53.
+ [Tx metadata in wallet-CLI](https://github.com/input-output-hk/cardano-wallet/wiki/TxMetadata).
2 changes: 1 addition & 1 deletion doc/stake-pool-operations/8_register_stakepool.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ After certificate submission, relay nodes will be added to the topology file ena

**Related topics:**

- [Establishing connectivity between nodes](https://docs.cardano.org/en/latest/getting-started/stake-pool-operators/establishing-connectivity-between-the-nodes.html)
- [Establishing connectivity between nodes](https://docs.cardano.org/development-guidelines/operating-a-stake-pool/node-connectivity)

### Generate Stake pool registration certificate

Expand Down
18 changes: 18 additions & 0 deletions mlc_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"ignorePatterns": [
{
"pattern": "^(http|https)://127.0.0.1"
},
{
"pattern": "https://iohk.myjetbrains.com"
},
{
"pattern": "https://iohk.zendesk.com"
}
],
"retryOn429": true,
"aliveStatusCodes": [
200,
206
]
}
4 changes: 1 addition & 3 deletions scripts/benchmarking/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
if the `dist-newstyle` directory is absent.

Before you can use `--nix`, you'll need to set up Nix -- please see
the `Building under Nix` section [here](https://github.com/input-output-hk/cardano-node/blob/master/doc/building-running.md#building-under-nix)
the `Building cardano-node with Nix` section [here](https://github.com/input-output-hk/cardano-node/blob/master/doc/getting-started/building-the-node-using-nix.md#building-cardano-node-with-nix)

2. using Cabal -- if you already have the development context set up
(dependencies, GHC, etc.), then this is the fastest way to iterate.
Expand Down Expand Up @@ -153,8 +153,6 @@ The `submit-tx.sh` script by default sends the transaction to node with node id

NB: This will submit a tx based on the `configuration/defaults/liveview/config-0.yaml` config file.

See cardano-cli's [Transactions](../cardano-node/README.md#transactions) section for instructions on how to generate a tx.

## Startup testnet with dns

You can run:
Expand Down

0 comments on commit 6208ad2

Please sign in to comment.