Merge pull request #706 from el00ruobuob/Moneropedia_atomic_units

Moneropedia article "Atomic Units"
This commit is contained in:
luigi1111 2018-05-09 14:04:40 -05:00 committed by GitHub
commit cac0087458
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 193 additions and 85 deletions

View file

@ -4,7 +4,7 @@ This is a list of the monerod daemon RPC calls, their inputs and outputs, and ex
Many RPC calls use the daemon's JSON RPC interface while others use their own interfaces, as demonstrated below. Many RPC calls use the daemon's JSON RPC interface while others use their own interfaces, as demonstrated below.
Note: "atomic units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 atomic units.** Note: "@atomic-units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 @atomic-units.**
### [JSON RPC Methods](#json-rpc-methods): ### [JSON RPC Methods](#json-rpc-methods):
@ -170,7 +170,7 @@ Outputs:
* *nonce* - unsigned int; a cryptographic random one-time number used in mining a Monero block. * *nonce* - unsigned int; a cryptographic random one-time number used in mining a Monero block.
* *orphan_status* - boolean; Usually `false`. If `true`, this block is not part of the longest chain. * *orphan_status* - boolean; Usually `false`. If `true`, this block is not part of the longest chain.
* *prev_hash* - string; The hash of the block immediately preceding this block in the chain. * *prev_hash* - string; The hash of the block immediately preceding this block in the chain.
* *reward* - unsigned int; The amount of new atomic units generated in this block and rewarded to the miner. Note: 1 XMR = 1e12 atomic units. * *reward* - unsigned int; The amount of new @atomic-units generated in this block and rewarded to the miner. Note: 1 XMR = 1e12 @atomic-units.
* *timestamp* - unsigned int; The time the block was recorded into the blockchain. * *timestamp* - unsigned int; The time the block was recorded into the blockchain.
* *status* - string; General RPC error code. "OK" means everything looks good. * *status* - string; General RPC error code. "OK" means everything looks good.
@ -308,7 +308,7 @@ Outputs:
* *gen* - Miner txs are coinbase txs, or "gen". * *gen* - Miner txs are coinbase txs, or "gen".
* *height* - This block height, a.k.a. when the coinbase is generated. * *height* - This block height, a.k.a. when the coinbase is generated.
* *vout* - List of transaction outputs. Each output contains: * *vout* - List of transaction outputs. Each output contains:
* *amount* - The amount of the output, in atomic units. * *amount* - The amount of the output, in @atomic-units.
* *target* - * *target* -
* *key* - * *key* -
* *extra* - Usually called the "transaction ID" but can be used to include any random 32 byte/64 character hex string. * *extra* - Usually called the "transaction ID" but can be used to include any random 32 byte/64 character hex string.
@ -651,11 +651,11 @@ Outputs:
* *unlock_time* - If not 0, this tells when a transaction output is spendable. * *unlock_time* - If not 0, this tells when a transaction output is spendable.
* *vin* - List of inputs into transaction: * *vin* - List of inputs into transaction:
* *key* - The public key of the previous output spent in this transaction. * *key* - The public key of the previous output spent in this transaction.
* *amount* - The amount of the input, in atomic units. * *amount* - The amount of the input, in @atomic-units.
* *key_offsets* - A list of integer offets to the input. * *key_offsets* - A list of integer offets to the input.
* *k_image* - The key image for the given input * *k_image* - The key image for the given input
* *vout* - List of outputs from transaction: * *vout* - List of outputs from transaction:
* *amount* - Amount of transaction output, in atomic units. * *amount* - Amount of transaction output, in @atomic-units.
* *target* - Output destination information: * *target* - Output destination information:
* *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output. * *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output.
* *extra* - Usually called the "payment ID" but can be used to include any random 32 bytes. * *extra* - Usually called the "payment ID" but can be used to include any random 32 bytes.
@ -756,7 +756,7 @@ Outputs:
* *status* - string; General RPC error code. "OK" means everything looks good. * *status* - string; General RPC error code. "OK" means everything looks good.
* *transactions* - List of transactions in the mempool that have not been included in a block: * *transactions* - List of transactions in the mempool that have not been included in a block:
* *blob_size* - unsigned int; The size of the full transaction blob. * *blob_size* - unsigned int; The size of the full transaction blob.
* *fee* - unsigned int; The amount of the mining fee included in the transaction, in atomic units. * *fee* - unsigned int; The amount of the mining fee included in the transaction, in @atomic-units.
* *id_hash* - string; The transaction ID hash. * *id_hash* - string; The transaction ID hash.
* *kept_by_block* - boolean; We do not accept transactions that timed out before, unless set `true`. * *kept_by_block* - boolean; We do not accept transactions that timed out before, unless set `true`.
* *last_failed_height* - unsigned int; If the transaction has previously timed out, this tells at what height that occured. * *last_failed_height* - unsigned int; If the transaction has previously timed out, this tells at what height that occured.
@ -769,11 +769,11 @@ Outputs:
* *unlock_time* - If not 0, this tells when a transaction output is spendable. * *unlock_time* - If not 0, this tells when a transaction output is spendable.
* *vin* - List of inputs into transaction: * *vin* - List of inputs into transaction:
* *key* - The public key of the previous output spent in this transaction. * *key* - The public key of the previous output spent in this transaction.
* *amount* - The amount of the input, in atomic units. * *amount* - The amount of the input, in @atomic-units.
* *key_offsets* - A list of integer offets to the input. * *key_offsets* - A list of integer offets to the input.
* *k_image* - The key image for the given input * *k_image* - The key image for the given input
* *vout* - List of outputs from transaction: * *vout* - List of outputs from transaction:
* *amount* - Amount of transaction output, in atomic units. * *amount* - Amount of transaction output, in @atomic-units.
* *target* - Output destination information: * *target* - Output destination information:
* *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output. * *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output.
* *extra* - Usually called the "transaction ID" but can be used to include any random 32 bytes. * *extra* - Usually called the "transaction ID" but can be used to include any random 32 bytes.

View file

@ -29,7 +29,7 @@ curl \
-H 'Content-Type: application/json' -H 'Content-Type: application/json'
``` ```
Note: "atomic units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 atomic units.** Note: "@atomic-units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 @atomic-units.**
### Index of JSON RPC Methods: ### Index of JSON RPC Methods:
@ -157,7 +157,7 @@ Send monero to a number of recipients.
Inputs: Inputs:
* *destinations* - array of destinations to receive XMR: * *destinations* - array of destinations to receive XMR:
* *amount* - unsigned int; Amount to send to each destination, in atomic units. * *amount* - unsigned int; Amount to send to each destination, in @atomic-units.
* *address* - string; Destination public address. * *address* - string; Destination public address.
* *fee* - unsigned int; Ignored, will be automatically calculated. * *fee* - unsigned int; Ignored, will be automatically calculated.
* *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing). * *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing).
@ -201,7 +201,7 @@ Same as transfer, but can split into more than one tx if necessary.
Inputs: Inputs:
* *destinations* - array of destinations to receive XMR: * *destinations* - array of destinations to receive XMR:
* *amount* - unsigned int; Amount to send to each destination, in atomic units. * *amount* - unsigned int; Amount to send to each destination, in @atomic-units.
* *address* - string; Destination public address. * *address* - string; Destination public address.
* *fee* - unsigned int; Ignored, will be automatically calculated. * *fee* - unsigned int; Ignored, will be automatically calculated.
* *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing). * *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing).

View file

@ -0,0 +1,12 @@
---
layout: moneropedia
entry: "Atomic Units"
terms: ["atomic-units", "atomic-unit"]
summary: "Atomic Units refer to the smallest fraction of 1 XMR."
---
### The Basics
Atomic Units refer to the smallest fraction of 1 XMR.
One atomic unit is currently 1e-12 XMR (0.000000000001 XMR, or one @piconero).
It may be changed in the future.

View file

@ -2,12 +2,14 @@
layout: moneropedia layout: moneropedia
entry: "Denominations" entry: "Denominations"
terms: ["denominations", "subunits", "tacoshi", "piconero", "nanonero", "micronero", "millinero", "centinero", "decinero","decanero","hectonero","kilonero","meganero","giganero"] terms: ["denominations", "subunits", "tacoshi", "piconero", "nanonero", "micronero", "millinero", "centinero", "decinero","decanero","hectonero","kilonero","meganero","giganero"]
summary: "A denomination is a proper description of a currency amount. It is oftentimes a sub-unit of the currency. For example, traditionally a cent is 1/100th of a a particular unit of currency.)" summary: "A denomination is a proper description of a currency amount. It is oftentimes a sub-unit of the currency. For example, traditionally a cent is 1/100th of a particular unit of currency.)"
--- ---
### The Basics ### The Basics
A denomination is a proper description of a currency amount, oftentimes a sub-unit of the currency (for example, traditionally a cent is 1/100th of a a unit of currency). Monero denomination names add SI prefixes after dropping the initial "mo" for ease of use. The smallest unit of Monero is 1 piconero (0.000000000001 XMR). {{ page.summary | capitalize }}.
Monero denomination names add SI prefixes after dropping the initial "mo" for ease of use. Actually, the smallest unit of Monero is 1 piconero (0.000000000001 XMR).
### Denominations of Monero ### Denominations of Monero
@ -31,6 +33,8 @@ A denomination is a proper description of a currency amount, oftentimes a sub-un
### In-depth Information ### In-depth Information
Support for input using SI prefixes was [added to the Monero codebase](https://github.com/monero-project/monero/pull/1826) on March 3, 2017 by [Moneromooo](https://github.com/moneromooo-monero). The smallest unit of monero (10^-12 XMR) was originally called a tacoshi in honor of user [Tacotime](https://bitcointalk.org/index.php?action=profile;u=19270), an early Monero contributor and was later renamed for ease of use and consistancy. Support for input using SI prefixes was [added to the Monero codebase](https://github.com/monero-project/monero/pull/1826) on March 3, 2017 by [Moneromooo](https://github.com/moneromooo-monero). The smallest unit of Monero (10^-12 XMR) was originally called a tacoshi in honor of user [Tacotime](https://bitcointalk.org/index.php?action=profile;u=19270), an early Monero contributor and was later renamed for ease of use and consistancy.
{{ page.summary | capitalize }}. ### Monerod Implementation
The smallest fraction of Monero in the current monerod implementation is also known as the @atomic-unit, which is currently one piconero.

View file

@ -5,7 +5,7 @@ This is a list of the monerod daemon RPC calls, their inputs and outputs, and ex
Many RPC calls use the daemon's JSON RPC interface while others use their own interfaces, as demonstrated below. Many RPC calls use the daemon's JSON RPC interface while others use their own interfaces, as demonstrated below.
Note: "atomic units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 atomic units.** Note: "@atomic-units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 @atomic-units.**
### [JSON RPC Methods](#json-rpc-methods): ### [JSON RPC Methods](#json-rpc-methods):
@ -171,7 +171,7 @@ Outputs:
* *nonce* - unsigned int; a cryptographic random one-time number used in mining a Monero block. * *nonce* - unsigned int; a cryptographic random one-time number used in mining a Monero block.
* *orphan_status* - boolean; Usually `false`. If `true`, this block is not part of the longest chain. * *orphan_status* - boolean; Usually `false`. If `true`, this block is not part of the longest chain.
* *prev_hash* - string; The hash of the block immediately preceding this block in the chain. * *prev_hash* - string; The hash of the block immediately preceding this block in the chain.
* *reward* - unsigned int; The amount of new atomic units generated in this block and rewarded to the miner. Note: 1 XMR = 1e12 atomic units. * *reward* - unsigned int; The amount of new @atomic-units generated in this block and rewarded to the miner. Note: 1 XMR = 1e12 @atomic-units.
* *timestamp* - unsigned int; The time the block was recorded into the blockchain. * *timestamp* - unsigned int; The time the block was recorded into the blockchain.
* *status* - string; General RPC error code. "OK" means everything looks good. * *status* - string; General RPC error code. "OK" means everything looks good.
@ -309,7 +309,7 @@ Outputs:
* *gen* - Miner txs are coinbase txs, or "gen". * *gen* - Miner txs are coinbase txs, or "gen".
* *height* - This block height, a.k.a. when the coinbase is generated. * *height* - This block height, a.k.a. when the coinbase is generated.
* *vout* - List of transaction outputs. Each output contains: * *vout* - List of transaction outputs. Each output contains:
* *amount* - The amount of the output, in atomic units. * *amount* - The amount of the output, in @atomic-units.
* *target* - * *target* -
* *key* - * *key* -
* *extra* - Usually called the "transaction ID" but can be used to include any random 32 byte/64 character hex string. * *extra* - Usually called the "transaction ID" but can be used to include any random 32 byte/64 character hex string.
@ -652,11 +652,11 @@ Outputs:
* *unlock_time* - If not 0, this tells when a transaction output is spendable. * *unlock_time* - If not 0, this tells when a transaction output is spendable.
* *vin* - List of inputs into transaction: * *vin* - List of inputs into transaction:
* *key* - The public key of the previous output spent in this transaction. * *key* - The public key of the previous output spent in this transaction.
* *amount* - The amount of the input, in atomic units. * *amount* - The amount of the input, in @atomic-units.
* *key_offsets* - A list of integer offets to the input. * *key_offsets* - A list of integer offets to the input.
* *k_image* - The key image for the given input * *k_image* - The key image for the given input
* *vout* - List of outputs from transaction: * *vout* - List of outputs from transaction:
* *amount* - Amount of transaction output, in atomic units. * *amount* - Amount of transaction output, in @atomic-units.
* *target* - Output destination information: * *target* - Output destination information:
* *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output. * *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output.
* *extra* - Usually called the "payment ID" but can be used to include any random 32 bytes. * *extra* - Usually called the "payment ID" but can be used to include any random 32 bytes.
@ -757,7 +757,7 @@ Outputs:
* *status* - string; General RPC error code. "OK" means everything looks good. * *status* - string; General RPC error code. "OK" means everything looks good.
* *transactions* - List of transactions in the mempool that have not been included in a block: * *transactions* - List of transactions in the mempool that have not been included in a block:
* *blob_size* - unsigned int; The size of the full transaction blob. * *blob_size* - unsigned int; The size of the full transaction blob.
* *fee* - unsigned int; The amount of the mining fee included in the transaction, in atomic units. * *fee* - unsigned int; The amount of the mining fee included in the transaction, in @atomic-units.
* *id_hash* - string; The transaction ID hash. * *id_hash* - string; The transaction ID hash.
* *kept_by_block* - boolean; We do not accept transactions that timed out before, unless set `true`. * *kept_by_block* - boolean; We do not accept transactions that timed out before, unless set `true`.
* *last_failed_height* - unsigned int; If the transaction has previously timed out, this tells at what height that occured. * *last_failed_height* - unsigned int; If the transaction has previously timed out, this tells at what height that occured.
@ -770,11 +770,11 @@ Outputs:
* *unlock_time* - If not 0, this tells when a transaction output is spendable. * *unlock_time* - If not 0, this tells when a transaction output is spendable.
* *vin* - List of inputs into transaction: * *vin* - List of inputs into transaction:
* *key* - The public key of the previous output spent in this transaction. * *key* - The public key of the previous output spent in this transaction.
* *amount* - The amount of the input, in atomic units. * *amount* - The amount of the input, in @atomic-units.
* *key_offsets* - A list of integer offets to the input. * *key_offsets* - A list of integer offets to the input.
* *k_image* - The key image for the given input * *k_image* - The key image for the given input
* *vout* - List of outputs from transaction: * *vout* - List of outputs from transaction:
* *amount* - Amount of transaction output, in atomic units. * *amount* - Amount of transaction output, in @atomic-units.
* *target* - Output destination information: * *target* - Output destination information:
* *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output. * *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output.
* *extra* - Usually called the "transaction ID" but can be used to include any random 32 bytes. * *extra* - Usually called the "transaction ID" but can be used to include any random 32 bytes.

View file

@ -30,7 +30,7 @@ curl \
-H 'Content-Type: application/json' -H 'Content-Type: application/json'
``` ```
Note: "atomic units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 atomic units.** Note: "@atomic-units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 @atomic-units.**
### Index of JSON RPC Methods: ### Index of JSON RPC Methods:
@ -158,7 +158,7 @@ Send monero to a number of recipients.
Inputs: Inputs:
* *destinations* - array of destinations to receive XMR: * *destinations* - array of destinations to receive XMR:
* *amount* - unsigned int; Amount to send to each destination, in atomic units. * *amount* - unsigned int; Amount to send to each destination, in @atomic-units.
* *address* - string; Destination public address. * *address* - string; Destination public address.
* *fee* - unsigned int; Ignored, will be automatically calculated. * *fee* - unsigned int; Ignored, will be automatically calculated.
* *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing). * *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing).
@ -202,7 +202,7 @@ Same as transfer, but can split into more than one tx if necessary.
Inputs: Inputs:
* *destinations* - array of destinations to receive XMR: * *destinations* - array of destinations to receive XMR:
* *amount* - unsigned int; Amount to send to each destination, in atomic units. * *amount* - unsigned int; Amount to send to each destination, in @atomic-units.
* *address* - string; Destination public address. * *address* - string; Destination public address.
* *fee* - unsigned int; Ignored, will be automatically calculated. * *fee* - unsigned int; Ignored, will be automatically calculated.
* *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing). * *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing).

View file

@ -0,0 +1,12 @@
---
layout: moneropedia
entry: "Atomic Units"
terms: ["atomic-units", "atomic-unit"]
summary: "Atomic Units refer to the smallest fraction of 1 XMR."
---
### The Basics
Atomic Units refer to the smallest fraction of 1 XMR.
One atomic unit is currently 1e-12 XMR (0.000000000001 XMR, or one @piconero).
It may be changed in the future.

View file

@ -2,12 +2,14 @@
layout: moneropedia layout: moneropedia
entry: "Denominations" entry: "Denominations"
terms: ["denominations", "subunits", "tacoshi", "piconero", "nanonero", "micronero", "millinero", "centinero", "decinero","decanero","hectonero","kilonero","meganero","giganero"] terms: ["denominations", "subunits", "tacoshi", "piconero", "nanonero", "micronero", "millinero", "centinero", "decinero","decanero","hectonero","kilonero","meganero","giganero"]
summary: "A denomination is a proper description of a currency amount. It is oftentimes a sub-unit of the currency. For example, traditionally a cent is 1/100th of a a particular unit of currency.)" summary: "A denomination is a proper description of a currency amount. It is oftentimes a sub-unit of the currency. For example, traditionally a cent is 1/100th of a particular unit of currency.)"
--- ---
### The Basics ### The Basics
A denomination is a proper description of a currency amount, oftentimes a sub-unit of the currency (for example, traditionally a cent is 1/100th of a a unit of currency). Monero denomination names add SI prefixes after dropping the initial "mo" for ease of use. The smallest unit of Monero is 1 piconero (0.000000000001 XMR). {{ page.summary | capitalize }}.
Monero denomination names add SI prefixes after dropping the initial "mo" for ease of use. Actually, the smallest unit of Monero is 1 piconero (0.000000000001 XMR).
### Denominations of Monero ### Denominations of Monero
@ -31,6 +33,8 @@ A denomination is a proper description of a currency amount, oftentimes a sub-un
### In-depth Information ### In-depth Information
Support for input using SI prefixes was [added to the Monero codebase](https://github.com/monero-project/monero/pull/1826) on March 3, 2017 by [Moneromooo](https://github.com/moneromooo-monero). The smallest unit of monero (10^-12 XMR) was originally called a tacoshi in honor of user [Tacotime](https://bitcointalk.org/index.php?action=profile;u=19270), an early Monero contributor and was later renamed for ease of use and consistancy. Support for input using SI prefixes was [added to the Monero codebase](https://github.com/monero-project/monero/pull/1826) on March 3, 2017 by [Moneromooo](https://github.com/moneromooo-monero). The smallest unit of Monero (10^-12 XMR) was originally called a tacoshi in honor of user [Tacotime](https://bitcointalk.org/index.php?action=profile;u=19270), an early Monero contributor and was later renamed for ease of use and consistancy.
{{ page.summary | capitalize }}. ### Monerod Implementation
The smallest fraction of Monero in the current monerod implementation is also known as the @atomic-unit, which is currently one piconero.

View file

@ -5,7 +5,7 @@ This is a list of the monerod daemon RPC calls, their inputs and outputs, and ex
Many RPC calls use the daemon's JSON RPC interface while others use their own interfaces, as demonstrated below. Many RPC calls use the daemon's JSON RPC interface while others use their own interfaces, as demonstrated below.
Note: "atomic units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 atomic units.** Note: "@atomic-units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 @atomic-units.**
### [JSON RPC Methods](#json-rpc-methods): ### [JSON RPC Methods](#json-rpc-methods):
@ -171,7 +171,7 @@ Outputs:
* *nonce* - unsigned int; a cryptographic random one-time number used in mining a Monero block. * *nonce* - unsigned int; a cryptographic random one-time number used in mining a Monero block.
* *orphan_status* - boolean; Usually `false`. If `true`, this block is not part of the longest chain. * *orphan_status* - boolean; Usually `false`. If `true`, this block is not part of the longest chain.
* *prev_hash* - string; The hash of the block immediately preceding this block in the chain. * *prev_hash* - string; The hash of the block immediately preceding this block in the chain.
* *reward* - unsigned int; The amount of new atomic units generated in this block and rewarded to the miner. Note: 1 XMR = 1e12 atomic units. * *reward* - unsigned int; The amount of new @atomic-units generated in this block and rewarded to the miner. Note: 1 XMR = 1e12 @atomic-units.
* *timestamp* - unsigned int; The time the block was recorded into the blockchain. * *timestamp* - unsigned int; The time the block was recorded into the blockchain.
* *status* - string; General RPC error code. "OK" means everything looks good. * *status* - string; General RPC error code. "OK" means everything looks good.
@ -309,7 +309,7 @@ Outputs:
* *gen* - Miner txs are coinbase txs, or "gen". * *gen* - Miner txs are coinbase txs, or "gen".
* *height* - This block height, a.k.a. when the coinbase is generated. * *height* - This block height, a.k.a. when the coinbase is generated.
* *vout* - List of transaction outputs. Each output contains: * *vout* - List of transaction outputs. Each output contains:
* *amount* - The amount of the output, in atomic units. * *amount* - The amount of the output, in @atomic-units.
* *target* - * *target* -
* *key* - * *key* -
* *extra* - Usually called the "transaction ID" but can be used to include any random 32 byte/64 character hex string. * *extra* - Usually called the "transaction ID" but can be used to include any random 32 byte/64 character hex string.
@ -652,11 +652,11 @@ Outputs:
* *unlock_time* - If not 0, this tells when a transaction output is spendable. * *unlock_time* - If not 0, this tells when a transaction output is spendable.
* *vin* - List of inputs into transaction: * *vin* - List of inputs into transaction:
* *key* - The public key of the previous output spent in this transaction. * *key* - The public key of the previous output spent in this transaction.
* *amount* - The amount of the input, in atomic units. * *amount* - The amount of the input, in @atomic-units.
* *key_offsets* - A list of integer offets to the input. * *key_offsets* - A list of integer offets to the input.
* *k_image* - The key image for the given input * *k_image* - The key image for the given input
* *vout* - List of outputs from transaction: * *vout* - List of outputs from transaction:
* *amount* - Amount of transaction output, in atomic units. * *amount* - Amount of transaction output, in @atomic-units.
* *target* - Output destination information: * *target* - Output destination information:
* *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output. * *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output.
* *extra* - Usually called the "payment ID" but can be used to include any random 32 bytes. * *extra* - Usually called the "payment ID" but can be used to include any random 32 bytes.
@ -757,7 +757,7 @@ Outputs:
* *status* - string; General RPC error code. "OK" means everything looks good. * *status* - string; General RPC error code. "OK" means everything looks good.
* *transactions* - List of transactions in the mempool that have not been included in a block: * *transactions* - List of transactions in the mempool that have not been included in a block:
* *blob_size* - unsigned int; The size of the full transaction blob. * *blob_size* - unsigned int; The size of the full transaction blob.
* *fee* - unsigned int; The amount of the mining fee included in the transaction, in atomic units. * *fee* - unsigned int; The amount of the mining fee included in the transaction, in @atomic-units.
* *id_hash* - string; The transaction ID hash. * *id_hash* - string; The transaction ID hash.
* *kept_by_block* - boolean; We do not accept transactions that timed out before, unless set `true`. * *kept_by_block* - boolean; We do not accept transactions that timed out before, unless set `true`.
* *last_failed_height* - unsigned int; If the transaction has previously timed out, this tells at what height that occured. * *last_failed_height* - unsigned int; If the transaction has previously timed out, this tells at what height that occured.
@ -770,11 +770,11 @@ Outputs:
* *unlock_time* - If not 0, this tells when a transaction output is spendable. * *unlock_time* - If not 0, this tells when a transaction output is spendable.
* *vin* - List of inputs into transaction: * *vin* - List of inputs into transaction:
* *key* - The public key of the previous output spent in this transaction. * *key* - The public key of the previous output spent in this transaction.
* *amount* - The amount of the input, in atomic units. * *amount* - The amount of the input, in @atomic-units.
* *key_offsets* - A list of integer offets to the input. * *key_offsets* - A list of integer offets to the input.
* *k_image* - The key image for the given input * *k_image* - The key image for the given input
* *vout* - List of outputs from transaction: * *vout* - List of outputs from transaction:
* *amount* - Amount of transaction output, in atomic units. * *amount* - Amount of transaction output, in @atomic-units.
* *target* - Output destination information: * *target* - Output destination information:
* *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output. * *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output.
* *extra* - Usually called the "transaction ID" but can be used to include any random 32 bytes. * *extra* - Usually called the "transaction ID" but can be used to include any random 32 bytes.

View file

@ -30,7 +30,7 @@ curl \
-H 'Content-Type: application/json' -H 'Content-Type: application/json'
``` ```
Note: "atomic units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 atomic units.** Note: "@atomic-units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 @atomic-units.**
### Index of JSON RPC Methods: ### Index of JSON RPC Methods:
@ -158,7 +158,7 @@ Send monero to a number of recipients.
Inputs: Inputs:
* *destinations* - array of destinations to receive XMR: * *destinations* - array of destinations to receive XMR:
* *amount* - unsigned int; Amount to send to each destination, in atomic units. * *amount* - unsigned int; Amount to send to each destination, in @atomic-units.
* *address* - string; Destination public address. * *address* - string; Destination public address.
* *fee* - unsigned int; Ignored, will be automatically calculated. * *fee* - unsigned int; Ignored, will be automatically calculated.
* *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing). * *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing).
@ -202,7 +202,7 @@ Same as transfer, but can split into more than one tx if necessary.
Inputs: Inputs:
* *destinations* - array of destinations to receive XMR: * *destinations* - array of destinations to receive XMR:
* *amount* - unsigned int; Amount to send to each destination, in atomic units. * *amount* - unsigned int; Amount to send to each destination, in @atomic-units.
* *address* - string; Destination public address. * *address* - string; Destination public address.
* *fee* - unsigned int; Ignored, will be automatically calculated. * *fee* - unsigned int; Ignored, will be automatically calculated.
* *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing). * *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing).

View file

@ -0,0 +1,12 @@
---
layout: moneropedia
entry: "Atomic Units"
terms: ["atomic-units", "atomic-unit"]
summary: "Atomic Units refer to the smallest fraction of 1 XMR."
---
### The Basics
Atomic Units refer to the smallest fraction of 1 XMR.
One atomic unit is currently 1e-12 XMR (0.000000000001 XMR, or one @piconero).
It may be changed in the future.

View file

@ -2,12 +2,14 @@
layout: moneropedia layout: moneropedia
entry: "Denominations" entry: "Denominations"
terms: ["denominations", "subunits", "tacoshi", "piconero", "nanonero", "micronero", "millinero", "centinero", "decinero","decanero","hectonero","kilonero","meganero","giganero"] terms: ["denominations", "subunits", "tacoshi", "piconero", "nanonero", "micronero", "millinero", "centinero", "decinero","decanero","hectonero","kilonero","meganero","giganero"]
summary: "A denomination is a proper description of a currency amount. It is oftentimes a sub-unit of the currency. For example, traditionally a cent is 1/100th of a a particular unit of currency.)" summary: "A denomination is a proper description of a currency amount. It is oftentimes a sub-unit of the currency. For example, traditionally a cent is 1/100th of a particular unit of currency.)"
--- ---
### The Basics ### The Basics
A denomination is a proper description of a currency amount, oftentimes a sub-unit of the currency (for example, traditionally a cent is 1/100th of a a unit of currency). Monero denomination names add SI prefixes after dropping the initial "mo" for ease of use. The smallest unit of Monero is 1 piconero (0.000000000001 XMR). {{ page.summary | capitalize }}.
Monero denomination names add SI prefixes after dropping the initial "mo" for ease of use. Actually, the smallest unit of Monero is 1 piconero (0.000000000001 XMR).
### Denominations of Monero ### Denominations of Monero
@ -31,6 +33,8 @@ A denomination is a proper description of a currency amount, oftentimes a sub-un
### In-depth Information ### In-depth Information
Support for input using SI prefixes was [added to the Monero codebase](https://github.com/monero-project/monero/pull/1826) on March 3, 2017 by [Moneromooo](https://github.com/moneromooo-monero). The smallest unit of monero (10^-12 XMR) was originally called a tacoshi in honor of user [Tacotime](https://bitcointalk.org/index.php?action=profile;u=19270), an early Monero contributor and was later renamed for ease of use and consistancy. Support for input using SI prefixes was [added to the Monero codebase](https://github.com/monero-project/monero/pull/1826) on March 3, 2017 by [Moneromooo](https://github.com/moneromooo-monero). The smallest unit of Monero (10^-12 XMR) was originally called a tacoshi in honor of user [Tacotime](https://bitcointalk.org/index.php?action=profile;u=19270), an early Monero contributor and was later renamed for ease of use and consistancy.
{{ page.summary | capitalize }}. ### Monerod Implementation
The smallest fraction of Monero in the current monerod implementation is also known as the @atomic-unit, which is currently one piconero.

View file

@ -5,7 +5,7 @@ This is a list of the monerod daemon RPC calls, their inputs and outputs, and ex
Many RPC calls use the daemon's JSON RPC interface while others use their own interfaces, as demonstrated below. Many RPC calls use the daemon's JSON RPC interface while others use their own interfaces, as demonstrated below.
Note: "atomic units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 atomic units.** Note: "@atomic-units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 @atomic-units.**
### [JSON RPC Methods](#json-rpc-methods): ### [JSON RPC Methods](#json-rpc-methods):
@ -171,7 +171,7 @@ Outputs:
* *nonce* - unsigned int; a cryptographic random one-time number used in mining a Monero block. * *nonce* - unsigned int; a cryptographic random one-time number used in mining a Monero block.
* *orphan_status* - boolean; Usually `false`. If `true`, this block is not part of the longest chain. * *orphan_status* - boolean; Usually `false`. If `true`, this block is not part of the longest chain.
* *prev_hash* - string; The hash of the block immediately preceding this block in the chain. * *prev_hash* - string; The hash of the block immediately preceding this block in the chain.
* *reward* - unsigned int; The amount of new atomic units generated in this block and rewarded to the miner. Note: 1 XMR = 1e12 atomic units. * *reward* - unsigned int; The amount of new @atomic-units generated in this block and rewarded to the miner. Note: 1 XMR = 1e12 @atomic-units.
* *timestamp* - unsigned int; The time the block was recorded into the blockchain. * *timestamp* - unsigned int; The time the block was recorded into the blockchain.
* *status* - string; General RPC error code. "OK" means everything looks good. * *status* - string; General RPC error code. "OK" means everything looks good.
@ -309,7 +309,7 @@ Outputs:
* *gen* - Miner txs are coinbase txs, or "gen". * *gen* - Miner txs are coinbase txs, or "gen".
* *height* - This block height, a.k.a. when the coinbase is generated. * *height* - This block height, a.k.a. when the coinbase is generated.
* *vout* - List of transaction outputs. Each output contains: * *vout* - List of transaction outputs. Each output contains:
* *amount* - The amount of the output, in atomic units. * *amount* - The amount of the output, in @atomic-units.
* *target* - * *target* -
* *key* - * *key* -
* *extra* - Usually called the "transaction ID" but can be used to include any random 32 byte/64 character hex string. * *extra* - Usually called the "transaction ID" but can be used to include any random 32 byte/64 character hex string.
@ -652,11 +652,11 @@ Outputs:
* *unlock_time* - If not 0, this tells when a transaction output is spendable. * *unlock_time* - If not 0, this tells when a transaction output is spendable.
* *vin* - List of inputs into transaction: * *vin* - List of inputs into transaction:
* *key* - The public key of the previous output spent in this transaction. * *key* - The public key of the previous output spent in this transaction.
* *amount* - The amount of the input, in atomic units. * *amount* - The amount of the input, in @atomic-units.
* *key_offsets* - A list of integer offets to the input. * *key_offsets* - A list of integer offets to the input.
* *k_image* - The key image for the given input * *k_image* - The key image for the given input
* *vout* - List of outputs from transaction: * *vout* - List of outputs from transaction:
* *amount* - Amount of transaction output, in atomic units. * *amount* - Amount of transaction output, in @atomic-units.
* *target* - Output destination information: * *target* - Output destination information:
* *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output. * *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output.
* *extra* - Usually called the "payment ID" but can be used to include any random 32 bytes. * *extra* - Usually called the "payment ID" but can be used to include any random 32 bytes.
@ -756,7 +756,7 @@ Outputs:
* *status* - string; General RPC error code. "OK" means everything looks good. * *status* - string; General RPC error code. "OK" means everything looks good.
* *transactions* - List of transactions in the mempool that have not been included in a block: * *transactions* - List of transactions in the mempool that have not been included in a block:
* *blob_size* - unsigned int; The size of the full transaction blob. * *blob_size* - unsigned int; The size of the full transaction blob.
* *fee* - unsigned int; The amount of the mining fee included in the transaction, in atomic units. * *fee* - unsigned int; The amount of the mining fee included in the transaction, in @atomic-units.
* *id_hash* - string; The transaction ID hash. * *id_hash* - string; The transaction ID hash.
* *kept_by_block* - boolean; We do not accept transactions that timed out before, unless set `true`. * *kept_by_block* - boolean; We do not accept transactions that timed out before, unless set `true`.
* *last_failed_height* - unsigned int; If the transaction has previously timed out, this tells at what height that occured. * *last_failed_height* - unsigned int; If the transaction has previously timed out, this tells at what height that occured.
@ -769,11 +769,11 @@ Outputs:
* *unlock_time* - If not 0, this tells when a transaction output is spendable. * *unlock_time* - If not 0, this tells when a transaction output is spendable.
* *vin* - List of inputs into transaction: * *vin* - List of inputs into transaction:
* *key* - The public key of the previous output spent in this transaction. * *key* - The public key of the previous output spent in this transaction.
* *amount* - The amount of the input, in atomic units. * *amount* - The amount of the input, in @atomic-units.
* *key_offsets* - A list of integer offets to the input. * *key_offsets* - A list of integer offets to the input.
* *k_image* - The key image for the given input * *k_image* - The key image for the given input
* *vout* - List of outputs from transaction: * *vout* - List of outputs from transaction:
* *amount* - Amount of transaction output, in atomic units. * *amount* - Amount of transaction output, in @atomic-units.
* *target* - Output destination information: * *target* - Output destination information:
* *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output. * *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output.
* *extra* - Usually called the "transaction ID" but can be used to include any random 32 bytes. * *extra* - Usually called the "transaction ID" but can be used to include any random 32 bytes.

View file

@ -30,7 +30,7 @@ curl \
-H 'Content-Type: application/json' -H 'Content-Type: application/json'
``` ```
Note: "atomic units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 atomic units.** Note: "@atomic-units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 @atomic-units.**
### Index of JSON RPC Methods: ### Index of JSON RPC Methods:
@ -158,7 +158,7 @@ Send monero to a number of recipients.
Inputs: Inputs:
* *destinations* - array of destinations to receive XMR: * *destinations* - array of destinations to receive XMR:
* *amount* - unsigned int; Amount to send to each destination, in atomic units. * *amount* - unsigned int; Amount to send to each destination, in @atomic-units.
* *address* - string; Destination public address. * *address* - string; Destination public address.
* *fee* - unsigned int; Ignored, will be automatically calculated. * *fee* - unsigned int; Ignored, will be automatically calculated.
* *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing). * *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing).
@ -202,7 +202,7 @@ Same as transfer, but can split into more than one tx if necessary.
Inputs: Inputs:
* *destinations* - array of destinations to receive XMR: * *destinations* - array of destinations to receive XMR:
* *amount* - unsigned int; Amount to send to each destination, in atomic units. * *amount* - unsigned int; Amount to send to each destination, in @atomic-units.
* *address* - string; Destination public address. * *address* - string; Destination public address.
* *fee* - unsigned int; Ignored, will be automatically calculated. * *fee* - unsigned int; Ignored, will be automatically calculated.
* *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing). * *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing).

View file

@ -0,0 +1,12 @@
---
layout: moneropedia
entry: "Atomic Units"
terms: ["atomic-units", "atomic-unit"]
summary: "Atomic Units refer to the smallest fraction of 1 XMR."
---
### The Basics
Atomic Units refer to the smallest fraction of 1 XMR.
One atomic unit is currently 1e-12 XMR (0.000000000001 XMR, or one @piconero).
It may be changed in the future.

View file

@ -2,12 +2,14 @@
layout: moneropedia layout: moneropedia
entry: "Denominations" entry: "Denominations"
terms: ["denominations", "subunits", "tacoshi", "piconero", "nanonero", "micronero", "millinero", "centinero", "decinero","decanero","hectonero","kilonero","meganero","giganero"] terms: ["denominations", "subunits", "tacoshi", "piconero", "nanonero", "micronero", "millinero", "centinero", "decinero","decanero","hectonero","kilonero","meganero","giganero"]
summary: "A denomination is a proper description of a currency amount. It is oftentimes a sub-unit of the currency. For example, traditionally a cent is 1/100th of a a particular unit of currency.)" summary: "A denomination is a proper description of a currency amount. It is oftentimes a sub-unit of the currency. For example, traditionally a cent is 1/100th of a particular unit of currency.)"
--- ---
### The Basics ### The Basics
A denomination is a proper description of a currency amount, oftentimes a sub-unit of the currency (for example, traditionally a cent is 1/100th of a a unit of currency). Monero denomination names add SI prefixes after dropping the initial "mo" for ease of use. The smallest unit of Monero is 1 piconero (0.000000000001 XMR). {{ page.summary | capitalize }}.
Monero denomination names add SI prefixes after dropping the initial "mo" for ease of use. Actually, the smallest unit of Monero is 1 piconero (0.000000000001 XMR).
### Denominations of Monero ### Denominations of Monero
@ -31,6 +33,8 @@ A denomination is a proper description of a currency amount, oftentimes a sub-un
### In-depth Information ### In-depth Information
Support for input using SI prefixes was [added to the Monero codebase](https://github.com/monero-project/monero/pull/1826) on March 3, 2017 by [Moneromooo](https://github.com/moneromooo-monero). The smallest unit of monero (10^-12 XMR) was originally called a tacoshi in honor of user [Tacotime](https://bitcointalk.org/index.php?action=profile;u=19270), an early Monero contributor and was later renamed for ease of use and consistancy. Support for input using SI prefixes was [added to the Monero codebase](https://github.com/monero-project/monero/pull/1826) on March 3, 2017 by [Moneromooo](https://github.com/moneromooo-monero). The smallest unit of Monero (10^-12 XMR) was originally called a tacoshi in honor of user [Tacotime](https://bitcointalk.org/index.php?action=profile;u=19270), an early Monero contributor and was later renamed for ease of use and consistancy.
{{ page.summary | capitalize }}. ### Monerod Implementation
The smallest fraction of Monero in the current monerod implementation is also known as the @atomic-unit, which is currently one piconero.

View file

@ -4,7 +4,7 @@ Poniżej znajduje się lista funkcji RPC demona monerod, ich wejścia i wyników
Wiele funkcji RPC korzysta z interfejsu demona JSON RPC, podczas gdy inne używają własnego interfejsu, jak przedstawiono poniżej. Wiele funkcji RPC korzysta z interfejsu demona JSON RPC, podczas gdy inne używają własnego interfejsu, jak przedstawiono poniżej.
Uwaga: "jednostki atomowe" dotyczą najmniejszego ułamka 1 XMR, zgodnie z implementacją monerod. **1 XMR = 1e12 jednostek atomowych.** Uwaga: "jednostki atomowe (@atomic-unit)" dotyczą najmniejszego ułamka 1 XMR, zgodnie z implementacją monerod. **1 XMR = 1e12 jednostek atomowych.**
### [Metody JSON RPC](#json-rpc-methods): ### [Metody JSON RPC](#json-rpc-methods):

View file

@ -29,7 +29,7 @@ curl \
-H 'Content-Type: application/json' -H 'Content-Type: application/json'
``` ```
Zauważ, że jednostki atomowe są najmniejszą częścią 1 XMR, zgodnie z implementacją monerod. **1 XMR = 1e12 jednostek atomowych.** Zauważ, że jednostki atomowe (@atomic-unit) są najmniejszą częścią 1 XMR, zgodnie z implementacją monerod. **1 XMR = 1e12 jednostek atomowych.**
### Lista metod JSON RPC: ### Lista metod JSON RPC:

View file

@ -0,0 +1,12 @@
---
layout: moneropedia
entry: "Atomic Units"
terms: ["atomic-units", "atomic-unit"]
summary: "Atomic Units refer to the smallest fraction of 1 XMR."
---
### The Basics
Atomic Units refer to the smallest fraction of 1 XMR.
One atomic unit is currently 1e-12 XMR (0.000000000001 XMR, or one @piconero).
It may be changed in the future.

View file

@ -5,7 +5,7 @@ This is a list of the monerod daemon RPC calls, their inputs and outputs, and ex
Many RPC calls use the daemon's JSON RPC interface while others use their own interfaces, as demonstrated below. Many RPC calls use the daemon's JSON RPC interface while others use their own interfaces, as demonstrated below.
Note: "atomic units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 atomic units.** Note: "@atomic-units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 @atomic-units.**
### [JSON RPC Methods](#json-rpc-methods): ### [JSON RPC Methods](#json-rpc-methods):
@ -171,7 +171,7 @@ Outputs:
* *nonce* - unsigned int; a cryptographic random one-time number used in mining a Monero block. * *nonce* - unsigned int; a cryptographic random one-time number used in mining a Monero block.
* *orphan_status* - boolean; Usually `false`. If `true`, this block is not part of the longest chain. * *orphan_status* - boolean; Usually `false`. If `true`, this block is not part of the longest chain.
* *prev_hash* - string; The hash of the block immediately preceding this block in the chain. * *prev_hash* - string; The hash of the block immediately preceding this block in the chain.
* *reward* - unsigned int; The amount of new atomic units generated in this block and rewarded to the miner. Note: 1 XMR = 1e12 atomic units. * *reward* - unsigned int; The amount of new @atomic-units generated in this block and rewarded to the miner. Note: 1 XMR = 1e12 @atomic-units.
* *timestamp* - unsigned int; The time the block was recorded into the blockchain. * *timestamp* - unsigned int; The time the block was recorded into the blockchain.
* *status* - string; General RPC error code. "OK" means everything looks good. * *status* - string; General RPC error code. "OK" means everything looks good.
@ -309,7 +309,7 @@ Outputs:
* *gen* - Miner txs are coinbase txs, or "gen". * *gen* - Miner txs are coinbase txs, or "gen".
* *height* - This block height, a.k.a. when the coinbase is generated. * *height* - This block height, a.k.a. when the coinbase is generated.
* *vout* - List of transaction outputs. Each output contains: * *vout* - List of transaction outputs. Each output contains:
* *amount* - The amount of the output, in atomic units. * *amount* - The amount of the output, in @atomic-units.
* *target* - * *target* -
* *key* - * *key* -
* *extra* - Usually called the "transaction ID" but can be used to include any random 32 byte/64 character hex string. * *extra* - Usually called the "transaction ID" but can be used to include any random 32 byte/64 character hex string.
@ -652,11 +652,11 @@ Outputs:
* *unlock_time* - If not 0, this tells when a transaction output is spendable. * *unlock_time* - If not 0, this tells when a transaction output is spendable.
* *vin* - List of inputs into transaction: * *vin* - List of inputs into transaction:
* *key* - The public key of the previous output spent in this transaction. * *key* - The public key of the previous output spent in this transaction.
* *amount* - The amount of the input, in atomic units. * *amount* - The amount of the input, in @atomic-units.
* *key_offsets* - A list of integer offets to the input. * *key_offsets* - A list of integer offets to the input.
* *k_image* - The key image for the given input * *k_image* - The key image for the given input
* *vout* - List of outputs from transaction: * *vout* - List of outputs from transaction:
* *amount* - Amount of transaction output, in atomic units. * *amount* - Amount of transaction output, in @atomic-units.
* *target* - Output destination information: * *target* - Output destination information:
* *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output. * *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output.
* *extra* - Usually called the "payment ID" but can be used to include any random 32 bytes. * *extra* - Usually called the "payment ID" but can be used to include any random 32 bytes.
@ -757,7 +757,7 @@ Outputs:
* *status* - string; General RPC error code. "OK" means everything looks good. * *status* - string; General RPC error code. "OK" means everything looks good.
* *transactions* - List of transactions in the mempool that have not been included in a block: * *transactions* - List of transactions in the mempool that have not been included in a block:
* *blob_size* - unsigned int; The size of the full transaction blob. * *blob_size* - unsigned int; The size of the full transaction blob.
* *fee* - unsigned int; The amount of the mining fee included in the transaction, in atomic units. * *fee* - unsigned int; The amount of the mining fee included in the transaction, in @atomic-units.
* *id_hash* - string; The transaction ID hash. * *id_hash* - string; The transaction ID hash.
* *kept_by_block* - boolean; We do not accept transactions that timed out before, unless set `true`. * *kept_by_block* - boolean; We do not accept transactions that timed out before, unless set `true`.
* *last_failed_height* - unsigned int; If the transaction has previously timed out, this tells at what height that occured. * *last_failed_height* - unsigned int; If the transaction has previously timed out, this tells at what height that occured.
@ -770,11 +770,11 @@ Outputs:
* *unlock_time* - If not 0, this tells when a transaction output is spendable. * *unlock_time* - If not 0, this tells when a transaction output is spendable.
* *vin* - List of inputs into transaction: * *vin* - List of inputs into transaction:
* *key* - The public key of the previous output spent in this transaction. * *key* - The public key of the previous output spent in this transaction.
* *amount* - The amount of the input, in atomic units. * *amount* - The amount of the input, in @atomic-units.
* *key_offsets* - A list of integer offets to the input. * *key_offsets* - A list of integer offets to the input.
* *k_image* - The key image for the given input * *k_image* - The key image for the given input
* *vout* - List of outputs from transaction: * *vout* - List of outputs from transaction:
* *amount* - Amount of transaction output, in atomic units. * *amount* - Amount of transaction output, in @atomic-units.
* *target* - Output destination information: * *target* - Output destination information:
* *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output. * *key* - The stealth public key of the receiver. Whoever owns the private key associated with this key controls this transaction output.
* *extra* - Usually called the "transaction ID" but can be used to include any random 32 bytes. * *extra* - Usually called the "transaction ID" but can be used to include any random 32 bytes.

View file

@ -30,7 +30,7 @@ curl \
-H 'Content-Type: application/json' -H 'Content-Type: application/json'
``` ```
Note: "atomic units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 atomic units.** Note: "@atomic-units" refer to the smallest fraction of 1 XMR according to the monerod implementation. **1 XMR = 1e12 @atomic-units.**
### Index of JSON RPC Methods: ### Index of JSON RPC Methods:
@ -158,7 +158,7 @@ Send monero to a number of recipients.
Inputs: Inputs:
* *destinations* - array of destinations to receive XMR: * *destinations* - array of destinations to receive XMR:
* *amount* - unsigned int; Amount to send to each destination, in atomic units. * *amount* - unsigned int; Amount to send to each destination, in @atomic-units.
* *address* - string; Destination public address. * *address* - string; Destination public address.
* *fee* - unsigned int; Ignored, will be automatically calculated. * *fee* - unsigned int; Ignored, will be automatically calculated.
* *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing). * *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing).
@ -202,7 +202,7 @@ Same as transfer, but can split into more than one tx if necessary.
Inputs: Inputs:
* *destinations* - array of destinations to receive XMR: * *destinations* - array of destinations to receive XMR:
* *amount* - unsigned int; Amount to send to each destination, in atomic units. * *amount* - unsigned int; Amount to send to each destination, in @atomic-units.
* *address* - string; Destination public address. * *address* - string; Destination public address.
* *fee* - unsigned int; Ignored, will be automatically calculated. * *fee* - unsigned int; Ignored, will be automatically calculated.
* *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing). * *mixin* - unsigned int; Number of outpouts from the blockchain to mix with (0 means no mixing).

View file

@ -0,0 +1,12 @@
---
layout: moneropedia
entry: "Atomic Units"
terms: ["atomic-units", "atomic-unit"]
summary: "Atomic Units refer to the smallest fraction of 1 XMR."
---
### The Basics
Atomic Units refer to the smallest fraction of 1 XMR.
One atomic unit is currently 1e-12 XMR (0.000000000001 XMR, or one @piconero).
It may be changed in the future.

View file

@ -2,12 +2,14 @@
layout: moneropedia layout: moneropedia
entry: "Denominations" entry: "Denominations"
terms: ["denominations", "subunits", "tacoshi", "piconero", "nanonero", "micronero", "millinero", "centinero", "decinero","decanero","hectonero","kilonero","meganero","giganero"] terms: ["denominations", "subunits", "tacoshi", "piconero", "nanonero", "micronero", "millinero", "centinero", "decinero","decanero","hectonero","kilonero","meganero","giganero"]
summary: "A denomination is a proper description of a currency amount. It is oftentimes a sub-unit of the currency. For example, traditionally a cent is 1/100th of a a particular unit of currency.)" summary: "A denomination is a proper description of a currency amount. It is oftentimes a sub-unit of the currency. For example, traditionally a cent is 1/100th of a particular unit of currency.)"
--- ---
### The Basics ### The Basics
A denomination is a proper description of a currency amount, oftentimes a sub-unit of the currency (for example, traditionally a cent is 1/100th of a a unit of currency). Monero denomination names add SI prefixes after dropping the initial "mo" for ease of use. The smallest unit of Monero is 1 piconero (0.000000000001 XMR). {{ page.summary | capitalize }}.
Monero denomination names add SI prefixes after dropping the initial "mo" for ease of use. Actually, the smallest unit of Monero is 1 piconero (0.000000000001 XMR).
### Denominations of Monero ### Denominations of Monero
@ -31,6 +33,8 @@ A denomination is a proper description of a currency amount, oftentimes a sub-un
### In-depth Information ### In-depth Information
Support for input using SI prefixes was [added to the Monero codebase](https://github.com/monero-project/monero/pull/1826) on March 3, 2017 by [Moneromooo](https://github.com/moneromooo-monero). The smallest unit of monero (10^-12 XMR) was originally called a tacoshi in honor of user [Tacotime](https://bitcointalk.org/index.php?action=profile;u=19270), an early Monero contributor and was later renamed for ease of use and consistancy. Support for input using SI prefixes was [added to the Monero codebase](https://github.com/monero-project/monero/pull/1826) on March 3, 2017 by [Moneromooo](https://github.com/moneromooo-monero). The smallest unit of Monero (10^-12 XMR) was originally called a tacoshi in honor of user [Tacotime](https://bitcointalk.org/index.php?action=profile;u=19270), an early Monero contributor and was later renamed for ease of use and consistancy.
{{ page.summary | capitalize }}. ### Monerod Implementation
The smallest fraction of Monero in the current monerod implementation is also known as the @atomic-unit, which is currently one piconero.

View file

@ -0,0 +1,12 @@
---
layout: moneropedia
entry: "Atomic Units"
terms: ["atomic-units", "atomic-unit"]
summary: "Atomic Units refer to the smallest fraction of 1 XMR."
---
### The Basics
Atomic Units refer to the smallest fraction of 1 XMR.
One atomic unit is currently 1e-12 XMR (0.000000000001 XMR, or one @piconero).
It may be changed in the future.

View file

@ -9,7 +9,7 @@ summary: "A denomination is a proper description of a currency amount. It is oft
{{ page.summary | capitalize }}. {{ page.summary | capitalize }}.
Monero denomination names add SI prefixes after dropping the initial "mo" for ease of use. The smallest unit of Monero is 1 piconero (0.000000000001 XMR). Monero denomination names add SI prefixes after dropping the initial "mo" for ease of use. Actually, the smallest unit of Monero is 1 piconero (0.000000000001 XMR).
### Denominations of Monero ### Denominations of Monero
@ -34,3 +34,7 @@ Monero denomination names add SI prefixes after dropping the initial "mo" for ea
### In-depth Information ### In-depth Information
Support for input using SI prefixes was [added to the Monero codebase](https://github.com/monero-project/monero/pull/1826) on March 3, 2017 by [Moneromooo](https://github.com/moneromooo-monero). The smallest unit of Monero (10^-12 XMR) was originally called a tacoshi in honor of user [Tacotime](https://bitcointalk.org/index.php?action=profile;u=19270), an early Monero contributor and was later renamed for ease of use and consistancy. Support for input using SI prefixes was [added to the Monero codebase](https://github.com/monero-project/monero/pull/1826) on March 3, 2017 by [Moneromooo](https://github.com/moneromooo-monero). The smallest unit of Monero (10^-12 XMR) was originally called a tacoshi in honor of user [Tacotime](https://bitcointalk.org/index.php?action=profile;u=19270), an early Monero contributor and was later renamed for ease of use and consistancy.
### Monerod Implementation
The smallest fraction of Monero in the current monerod implementation is also known as the @atomic-unit, which is currently one piconero.