From 237ad01f8f7ba87c63aee9374fedcc60518cca49 Mon Sep 17 00:00:00 2001 From: Andrea Maria Piana Date: Mon, 4 May 2020 13:51:52 +0200 Subject: [PATCH] address feedback --- .../9-blockchain-interactions.md} | 32 ++++++++++--------- docs/raw/status-blockchain-spec.md | 15 --------- 2 files changed, 17 insertions(+), 30 deletions(-) rename docs/{stable/9-blockchain-usage.md => raw/9-blockchain-interactions.md} (89%) delete mode 100644 docs/raw/status-blockchain-spec.md diff --git a/docs/stable/9-blockchain-usage.md b/docs/raw/9-blockchain-interactions.md similarity index 89% rename from docs/stable/9-blockchain-usage.md rename to docs/raw/9-blockchain-interactions.md index 77d3f5e..9148bb1 100644 --- a/docs/stable/9-blockchain-usage.md +++ b/docs/raw/9-blockchain-interactions.md @@ -1,6 +1,6 @@ --- permalink: /spec/9 -parent: Stable specs +parent: Raw specs title: 9/BLOCKCHAIN-USAGE --- @@ -8,7 +8,7 @@ title: 9/BLOCKCHAIN-USAGE > Version: 0.1 > -> Status: Stable +> Status: Raw > > Authors: Andrea Maria Piana @@ -31,22 +31,22 @@ In the section below are described the `RPC` calls made the nodes, with a brief description of their functionality and how it is used by Status. 1. [Sending transactions](#Sending-transactions) - *[EstimateGas](#EstimateGas) - *[PendingNonceAt](#PendingNonceAt) - *[SuggestGasPrice](#SuggestGasPrice) - *[SendTransaction](#SendTransaction) + - [EstimateGas](#EstimateGas) + - [PendingNonceAt](#PendingNonceAt) + - [SuggestGasPrice](#SuggestGasPrice) + - [SendTransaction](#SendTransaction) 2. [Fetching balance](#Fetching-balance) - *[BlockByHash](#BlockByHash) - *[BlockByNumber](#BlockByNumber) - *[FilterLogs](#FilterLogs) - *[HeaderByNumber](#HeaderByNumber) - *[NonceAt](#NonceAt) - *[TransactionByHash](#TransactionByHash) - *[TransactionReceipt](#TransactionReceipt) + - [BlockByHash](#BlockByHash) + - [BlockByNumber](#BlockByNumber) + - [FilterLogs](#FilterLogs) + - [HeaderByNumber](#HeaderByNumber) + - [NonceAt](#NonceAt) + - [TransactionByHash](#TransactionByHash) + - [TransactionReceipt](#TransactionReceipt) ### Sending transactions -#### EstimateGase +#### EstimateGas EstimateGas tries to estimate the gas needed to execute a specific transaction based on the current pending state of the backend blockchain. There is no guarantee that this is @@ -100,7 +100,7 @@ https://github.com/ethereum/go-ethereum/blob/26d271dfbba1367326dec38068f9df828d4 #### BlockByHash -BlockByHash returns the given full block. +`BlockByHash` returns the given full block. It is used by status to fetch a given block which will then be inspected for transfers to the user address, both tokens and ETH. @@ -182,3 +182,5 @@ https://github.com/ethereum/go-ethereum/blob/26d271dfbba1367326dec38068f9df828d4 ## ENS + +All the interactions with `ENS` are made through the [ENS contract](https://github.com/ensdomains/ens) diff --git a/docs/raw/status-blockchain-spec.md b/docs/raw/status-blockchain-spec.md deleted file mode 100644 index 7af4350..0000000 --- a/docs/raw/status-blockchain-spec.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -layout: default -nav_exclude: true -parent: Raw specs ---- - -# Status Blockchain Specification - -> Version: 0.1 -> -> Status: Draft -> -> Authors: Corey Petty [corey@status.im](mailto:corey@status.im) (alphabetical order) - -TODO