From 63a2cda1bc9f6f3e1a97a516c8b1216723b11faf Mon Sep 17 00:00:00 2001 From: Alexander Graebe Date: Fri, 25 Sep 2020 07:53:27 -0700 Subject: [PATCH] fix: update rpc references and add missing redirect --- next.config.js | 5 +++++ src/pages/stacks-blockchain/running-testnet-node.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/next.config.js b/next.config.js index f82cdaaa..7c39c299 100755 --- a/next.config.js +++ b/next.config.js @@ -288,6 +288,11 @@ async function redirects() { destination: '/references/stacks-blockchain-api', permanent: true, }, + { + source: '/core/smart/rpc-api', + destination: '/references/stacks-blockchain-api', + permanent: true, + }, { source: '/common/javascript_ref.html', destination: 'https://blockstack.github.io/blockstack.js/', diff --git a/src/pages/stacks-blockchain/running-testnet-node.md b/src/pages/stacks-blockchain/running-testnet-node.md index 48a9f9b8..54cba685 100644 --- a/src/pages/stacks-blockchain/running-testnet-node.md +++ b/src/pages/stacks-blockchain/running-testnet-node.md @@ -73,7 +73,7 @@ The first time you run this, you'll see some logs indicating that the Rust code INFO [1588108047.585] [src/chainstate/stacks/index/marf.rs:732] First-ever block 0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206 ``` -Awesome! Your node is now connected to the testnet network. Your node will receive new blocks when they are produced, and you can use your [node's RPC API](/core/smart/rpc-api) to send transactions, fetch information for contracts and accounts, and more. +Awesome! Your node is now connected to the testnet network. Your node will receive new blocks when they are produced, and you can use your [node's RPC API](/references/stacks-blockchain-api#stacks-node-rpc-api) to send transactions, fetch information for contracts and accounts, and more. ## Step 3: Mining Stacks token