Revert "Multi lang"

This commit is contained in:
Riccardo Spagni
2016-01-30 17:40:33 +02:00
parent 71e32d576c
commit e5e14a28ca
22 changed files with 168 additions and 938 deletions
+23 -27
View File
@@ -4,26 +4,22 @@ title: "Accepting Monero Payments"
title-pre-kick: "Accepting Monero"
title-kick: "Payments"
title-post-kick: ""
cn-title: "接受门罗币(Monero)付款"
cn-title-pre-kick: "接受门罗币(Monero)"
cn-title-kick: "付款"
cn-title-post-kick: ""
kick-class: "kicks"
icon: "icon_accepting"
attribution: "<!-- Icon is based on work by Icons8 (http://www.icons8.com) and is licensed under Creative Commons BY 3.0 -->"
---
### {% t gs.accepting.basics %}
### The Basics
{% t gs.accepting.basics_text_1 %}
Monero works a little differently to what you may have become accustomed to from other @cryptocurrencies. In the case of a digital currency like Bitcoin and its many derivatives merchant payment systems will usually create a new recipient @address for each payment or user.
{% t gs.accepting.basics_text_2 %}
However, because Monero has @stealth-addresses there is no need to have separate recipient addresses for each payment or user, and a single @account address can be published. Instead, when receiving payments a merchant will provide the person paying with a "payment ID".
{% t gs.accepting.basics_text_3 %}
A @payment-ID is a hexadecimal string that is 64 characters long, and is normally randomly created by the merchant. An example of a payment ID is: <span class="long-term">666c75666679706f6e7920697320746865206265737420706f6e792065766572</span>
### {% t gs.accepting.checking_sw %}
### Checking for a Payment in simplewallet
{% t gs.accepting.checking_sw_text_1 %}
If you want to check for a payment using simplewallet you can use the "payments" command followed by the payment ID or payment IDs you want to check. For example:
{:.cli-code}
<span style="color: yellow;">[wallet 49VNLa]:</span> payments 666c75666679706f6e7920697320746865206265737420706f6e792065766572
@@ -31,23 +27,23 @@ attribution: "<!-- Icon is based on work by Icons8 (http://www.icons8.com) and i
<span style="color: lime;"><666c75666679706f6e79206973207> <7ba4cd810c9b4096869849458181e98e> 441942 30.00000 0</span>
<span style="color: yellow;">[wallet 49VNLa]:</span> <span style="color: gray;">█</span><br><br><br><br><br><br>
{% t gs.accepting.checking_sw_text_2 %}
If you need to check for payments programmatically, then details follow the next section.
### {% t gs.accepting.receiving %}
### Receiving a Payment Step-by-Step
<i class="fa fa-level-up fa-rotate-90 fa-lg instruction-list"></i> {% t gs.accepting.receiving_text_1 %}
<i class="fa fa-level-up fa-rotate-90 fa-lg instruction-list"></i> {% t gs.accepting.receiving_text_2 %}
<i class="fa fa-level-up fa-rotate-90 fa-lg instruction-list"></i> {% t gs.accepting.receiving_text_3 %}
<i class="fa fa-level-up fa-rotate-90 fa-lg instruction-list"></i> Generate a random 64 character hexadecimal string for the payment
<i class="fa fa-level-up fa-rotate-90 fa-lg instruction-list"></i> Communicate the payment ID and Monero address to the individual who is making payment
<i class="fa fa-level-up fa-rotate-90 fa-lg instruction-list"></i> Check for the payment using the "payments" command in simplewallet
### {% t gs.accepting.checking_prog %}
### Checking for a Payment Programatically
{% t gs.accepting.checking_prog_text_1 %}
In order to check for a payment programatically you can use the get_payments or get_bulk_payments JSON RPC API calls.
{% t gs.accepting.checking_prog_text_2 %}
*get_payments*: this requires a payment_id parameter with a single payment ID.
{% t gs.accepting.checking_prog_text_3 %}
*get_bulk_payments*: this is the preferred method, and requires two parameters, payment_ids - a JSON array of payment IDs - and an optional min_block_height - the block height to scan from.
{% t gs.accepting.checking_prog_text_4 %}
An example of returned data is as follows:
{:.cli-code}
<span style="color: cyan;">[ monero->~ ]$</span> curl -X POST http://127.0.0.1:18500/json_rpc -d '{"jsonrpc":"2.0","method":"get_bulk_payments","id":"test", "params":{"payment_ids": ["666c75666679706f6e7920697320746865206265737420706f6e792065766572"]}}' -H "Content-Type: application/json"
@@ -65,13 +61,13 @@ attribution: "<!-- Icon is based on work by Icons8 (http://www.icons8.com) and i
}
}
{% t gs.accepting.checking_prog_text_5 %}
It is important to note that the amounts returned are in base Monero units and not in the display units normally used in end-user applications. Also, since a transaction will typically have multiple outputs that add up to the total required for the payment, the amounts should be grouped by the tx_hash or the payment_id and added together. Additionally, as multiple outputs can have the same amount, it is imperative not to try and filter out the returned data from a single get_bulk_payments call.
{% t gs.accepting.checking_prog_text_6 %}
Before scanning for payments it is useful to check against the daemon RPC API (the get_info RPC call) to see if additional blocks have been received. Typically you would want to then scan only from that received block on by specifying it as the min_block_height to get_bulk_payments.
### {% t gs.accepting.scanning %}
### Programatically Scanning for Payments
<i class="fa fa-level-up fa-rotate-90 fa-lg instruction-list"></i> {% t gs.accepting.scanning_text_1 %}
<i class="fa fa-level-up fa-rotate-90 fa-lg instruction-list"></i> {% t gs.accepting.scanning_text_2 %}
<i class="fa fa-level-up fa-rotate-90 fa-lg instruction-list"></i> {% t gs.accepting.scanning_text_3 %}
<i class="fa fa-level-up fa-rotate-90 fa-lg instruction-list"></i> {% t gs.accepting.scanning_text_4 %}
<i class="fa fa-level-up fa-rotate-90 fa-lg instruction-list"></i> Get the current block height from the daemon, only proceed if it has increased since our last scan
<i class="fa fa-level-up fa-rotate-90 fa-lg instruction-list"></i> Call the get_bulk_payments RPC API call with our last scanned height and the list of all payment IDs in our system
<i class="fa fa-level-up fa-rotate-90 fa-lg instruction-list"></i> Store the current block height as our last scanned height
<i class="fa fa-level-up fa-rotate-90 fa-lg instruction-list"></i> Remove duplicates based on transaction hashes we have already received and processed
+12 -14
View File
@@ -4,18 +4,14 @@ title: "How to Choose a Monero Client"
title-pre-kick: "How to "
title-kick: "Choose "
title-post-kick: "a Monero Client"
cn-title: "如何选择门罗币(Monero)客户端"
cn-title-pre-kick: "如何"
cn-title-kick: "选择"
cn-title-post-kick: "门罗币(Monero)客户端"
kick-class: "green-kicks"
icon: "icon_client"
attribution: "<!-- Icon is based on work by Freepik (http://www.freepik.com) and is licensed under Creative Commons BY 3.0 -->"
---
### {% t gs.choose.mobile_web_lightweight %}
### Mobile, Web, and Lightweight Clients
{% t gs.choose.mobile_web_lightweight_text %}
The clients below are ideal if you are using Monero for the first time. They are also useful if you are on a device that cannot run a [full Monero node](/getting-started/running).
---
@@ -23,31 +19,33 @@ attribution: "<!-- Icon is based on work by Freepik (http://www.freepik.com) and
[![](//static.getmonero.org/images/clients/mymonero.svg)](https://mymonero.com)
{:.text-center}
[{% t gs.choose.my_monero_text_1 %}](https://mymonero.com) {% t gs.choose.my_monero_text_2 %}
[MyMonero.com](https://mymonero.com) is easy-to-use and works in your browser without you needing to install anything.
It can be used with some measure of safety, as MyMonero are unable to spend your funds on your behalf.
It is owned and operated by Riccardo Spagni, one of the Monero Core Team members.
---
### {% t gs.choose.full_client %}
### Full Monero Client
{% t gs.choose.full_client_text %}
If you are able to spare the bandwidth and disk space required to run a full node, doing so helps keep the network stable and robust, and also affords you the maximum privacy Monero has to offer.
---
{:.text-center .client-list #monerocore}
[![](//static.getmonero.org/images/logo.svg)](/downloads)
{% t gs.choose.monero_node_text_1 %} [{% t gs.choose.monero_node_text_2 %}]({{ site.baseurl }}/getting-started/running) {% t gs.choose.monero_node_text_3 %} [{% t gs.choose.monero_node_text_4 %}]({{ site.baseurl }}/downloads).
You can read our guide on [running a Monero node](/getting-started/running), and the Monero core software can be downloaded from the [downloads page](/downloads).
---
### {% t gs.choose.third_party_clients %}
### Third-Party Clients
{% t gs.choose.third_party_text %}
There are also several third-party clients that interact with the official Monero core daemon, and are able to provide their own additional functionality.
---
{:.text-center .client-list #monerox}
![](//static.getmonero.org/images/clients/monerox.svg)
{% t gs.choose.monerox %}
MoneroX is a GUI for Monero written in .NET and available for Windows, Mac, and Linux. It is written and maintained by Jojatekok.
{:.text-center .client-list}
**Current Version:** 1.0.0
@@ -66,7 +64,7 @@ attribution: "<!-- Icon is based on work by Freepik (http://www.freepik.com) and
{:.text-center .client-list #lightwallet}
[![](//static.getmonero.org/images/clients/lightwallet.svg)](https://forum.getmonero.org/20/general-discussion/166/lightwallet-a-lightweight-monero-gui-account-manager)
{% t gs.choose.lightwallet %}
lightWallet is a simple and slim client written in Python, and should run on most operating systems. It is written and maintained by jwinterm.
{:.text-center .client-list}
**Current Version:** 0.0.2-alpha
+14 -16
View File
@@ -4,41 +4,39 @@ title: "Donating and Sponsorships"
title-pre-kick: "Donating and "
title-kick: "Sponsorships"
title-post-kick: ""
cn-title: "募捐及赞助"
cn-title-pre-kick: "募捐及"
cn-title-kick: "赞助"
cn-title-post-kick: ""
kick-class: "kicks"
icon: "icon_donations"
attribution: "<!-- Icon is based on work by Freepik (http://www.freepik.com) and is licensed under Creative Commons BY 3.0 -->"
---
### {% t gs.donate.how_funded %}
### How this Project is Funded
{% t gs.donate.how_funded_text %}
Ongoing development of the Monero Project is solely supported by donations and sponsors. At this time the project is vastly underfunded, and thus donations are greatly appreciated.
### {% t gs.donate.donate_sponsor %}
### Donating and Sponsoring
{% t gs.donate.donate_sponsor_text_1 %}
If you would like to make a donation you can do so by using any of the methods below:
{:.text-center style="letter-spacing: 30px;"}
![Monero QR Code](//static.getmonero.org/images/donate-monero.png) ![Bitcoin QR Code](//static.getmonero.org/images/donate-bitcoin.png)
{% t gs.donate.donate_sponsor_text_2 %}
{% t gs.donate.donate_sponsor_text_3 %}
{% t gs.donate.donate_sponsor_text_4 %}
{% t gs.donate.donate_sponsor_text_5 %}
- Donating in Monero: you can send XMR donations to [donate.getmonero.org](monero:46BeWrHpwXmHDpDEUmZBWZfoQpdc6HaERCNmx1pEYL2rAcuwufPN9rXHHtyUA4QVy66qeFQkn6sfK8aHYjA3jk3o1Bv16em?recipient_name=Monero%20Development&tx_description=Donation%20to%20Monero%20Core%20Team), or directly to our Monero donation address -
<span class="long-term">[46BeWrHpwXmHDpDEUmZBWZfoQpdc6HaERCNmx1pEYL2rAcuwufPN9rXHHtyUA4QVy66qeFQkn6sfK8aHYjA3jk3o1Bv16em](monero:46BeWrHpwXmHDpDEUmZBWZfoQpdc6HaERCNmx1pEYL2rAcuwufPN9rXHHtyUA4QVy66qeFQkn6sfK8aHYjA3jk3o1Bv16em?recipient_name=Monero%20Development&tx_description=Donation%20to%20Monero%20Core%20Team)</span>
- Donating in Bitcoin: you can also send BTC donations to [donate.getmonero.org](bitcoin:1FhnVJi2V1k4MqXm2nHoEbY5LV7FPai7bb?label=Monero%20Development&message=Donation%20to%20Monero%20Core%20Team), or directly to our Bitcoin address: [1FhnVJi2V1k4MqXm2nHoEbY5LV7FPai7bb](bitcoin:1FhnVJi2V1k4MqXm2nHoEbY5LV7FPai7bb?label=Monero%20Development&message=Donation%20to%20Monero%20Core%20Team)
- To donate via credit card, wire transfer, or PayPal, please email the core team at [{{ site.email }}](mailto:{{ site.email }})
### {% t gs.donate.current_sponsors %}
Sponsorships are also greatly appreciated, including those companies that give us free or reduced-cost access to development hardware, hosting and other services, and software licenses. If you would like to sponsor Monero development in some form, please email the core team at [{{ site.email }}](mailto:{{ site.email }})
{% t gs.donate.current_sponsors_text %}
### Current Sponsors
Current sponsors include several mining pools that contribute a portion of their fees to development. You can find a list of these pools in [the first post on the Monero thread on Bitcointalk](https://bitcointalk.org/index.php?topic=583449.0). Over and above that, our sponsors include:
{:.text-center style="letter-spacing: 30px;"}
[![MyMonero](//static.getmonero.org/images/sponsors/mymonero.png)](https://mymonero.com) [![Kitware](//static.getmonero.org/images/sponsors/kitware.png?1)](http://kitware.com) [![Dome9](//static.getmonero.org/images/sponsors/dome9.png)](http://dome9.com) [![Araxis](//static.getmonero.org/images/sponsors/araxis.png)](http://araxis.com) [![JetBrains](//static.getmonero.org/images/sponsors/jetbrains.png)](http://www.jetbrains.com/) [![Navicat](//static.getmonero.org/images/sponsors/navicat.png)](http://www.navicat.com/)
### {% t gs.donate.hall_of_fame %}
### The Monero Community Hall of Fame
{% t gs.donate.hall_of_fame_text %}
All donators to Monero development are also eligible to be listed in the [Community Hall of Fame](/getting-started/donate/hall-of-fame). Members of the most prestigious level of donators, 8th Dan, are also listed below. The full [Hall of Fame can be viewed at this link](/getting-started/donate/hall-of-fame).
<div class="text-center" markdown="1">
+1 -1
View File
@@ -14,7 +14,7 @@ attribution: "<!-- Icon is based on work by Freepik (http://www.freepik.com) and
---
<div class="text-center" style="padding-bottom: 15px;"><a style="color: #505050;" href="/getting-started/choose"><img src="//static.getmonero.org/images/icon_client.svg" class="title-icon"><h2 class="inline">{% t gs.how_to %}<span class="green-kicks">Choose</span> a Monero Client</h2></a></div>
<div class="text-center" style="padding-bottom: 15px;"><a style="color: #505050;" href="/getting-started/choose"><img src="//static.getmonero.org/images/icon_client.svg" class="title-icon"><h2 class="inline">How to <span class="green-kicks">Choose</span> a Monero Client</h2></a></div>
<div class="text-center" style="padding-bottom: 15px;"><a style="color: #505050;" href="/getting-started/running"><img src="//static.getmonero.org/images/icon_node.svg" class="title-icon"><h2 class="inline">How to Run a <span class="yellow-kicks">Monero Node</span></h2></a></div>
-4
View File
@@ -4,10 +4,6 @@ title: "Monero Merchants and Services Directory"
title-pre-kick: "Monero "
title-kick: "Merchants and Services "
title-post-kick: "Directory"
cn-title: "门罗币(Monero)商家及服务目录"
cn-title-pre-kick: "门罗币(Monero)"
cn-title-kick: "商家及服务"
cn-title-post-kick: "目录"
kick-class: "purple-kicks"
icon: "icon_merchants"
attribution: "<!-- Icon is based on work by Freepik (http://www.freepik.com) and is licensed under Creative Commons BY 3.0 -->"
+14 -18
View File
@@ -4,38 +4,34 @@ title: "How to Run a Monero Node"
title-pre-kick: "How to Run a "
title-kick: "Monero Node"
title-post-kick: ""
cn-title: "如何运行门罗币网络节点(Monero Node)"
cn-title-pre-kick: "如何运行"
cn-title-kick: "门罗币网络节点(Monero Node)"
cn-title-post-kick: ""
kick-class: "yellow-kicks"
icon: "icon_node"
attribution: "<!-- Icon is based on work by Freepik (http://www.freepik.com) and is licensed under Creative Commons BY 3.0 -->"
---
### {% t gs.running.why_run %}
### Why Run a Full Node?
{% t gs.running.why_run_text_1 %}
Because of the decentralized and peer-to-peer nature of the Monero network it becomes more robust and resilient as it becomes larger. We encourage all users to run a full node, if they are able to.
{% t gs.running.why_run_text_2 %}
Running a Monero node does not require a huge amount of processing power, but it does require a few gigabytes worth of disk space to store the blockchain, and there will be some impact on your bandwidth especially from connected nodes that are catching up on the blockchain.
{% t gs.running.why_run_text_3 %}
The easiest way to run a Monero node, without affecting your home bandwidth, is to purchase a VPS (Virtual Private Server). We strongly recommend [InterServer.net](https://interserver.net/dock/vps-231552.html) using the 'MONERO' coupon code to get a discount over and above their already cheap $6/month VPS. Using this coupon code and/or [our affiliate link](https://interserver.net/dock/vps-231552.html) will also assist in the ongoing funding of Monero development.
{% t gs.running.why_run_text_4 %}
Monero will run on most hardware, including ARM and 32-bit systems. In order to prepare to run the node download the Monero binaries [from the downloads page](/downloads).
### {% t gs.running.running_node %}
### Running the Node
{% t gs.running.running_node_text_1 %}
Once you have the files downloaded and unpacked you don't need to do anything beyond running the Monero daemon.
{% t gs.running.running_node_text_2 %}
- On Windows: locate bitmonerod.exe in Windows Explorer and double-click on it. If it opens and then closes, or crashes after starting, then you may want to start it from within Command Prompt in order to see what errors arise.
{% t gs.running.running_node_text_3 %}
- On OS X: locate bitmonerod in Finder and double-click on it. As with Windows, if it opens and then closes, or crashes after starting, then you can start it from within Terminal.
{% t gs.running.running_node_text_4 %}
- On Linux: dependent on whether you are running it on a desktop or server operating system, you will want to start bitmonerod either in a screen session or in a console window of its own.
### {% t gs.running.correctly %}
### Ensuring Your Node is Running Correctly
{% t gs.running.correctly_text_1 %}
When starting Monero for the first time you will see something similar to this screen:
{:.cli-code}
2015-Feb-18 00:09:45.699104 Core initialized OK
@@ -51,6 +47,6 @@ SYNCHRONIZATION started
SYNCHRONIZATION started</span>
<span style="color: lime;">2015-Feb-18 00:10:01.719800 [P2P4][197.242.158.240:28080 OUT] SYNCHRONIZED OK</span>
{% t gs.running.correctly_text_2 %}
The yellow text indicates it is receiving blocks as it synchronises up with the rest of the Monero network. The green "synchronized ok" text will appear once it has correctly synched up. Once you see this there's nothing further you need to do, you are now running a Monero node!
{% t gs.running.correctly_text_3 %}
To exit the node at any time you can type "exit" into the daemon window and press enter, and it will shut itself down.