mirror of
https://git.wownero.com/lza_menace/wownero-python.git
synced 2024-08-15 03:25:25 +00:00
Remove compatibility and most references to archaic version of Monero
This commit is contained in:
parent
864829b858
commit
3358e5a30a
5 changed files with 8 additions and 27 deletions
|
@ -1,9 +1,6 @@
|
|||
Addresses and payment IDs
|
||||
=========================
|
||||
|
||||
In Monero v0.11.x the wallet had only one address. This is changing now. A
|
||||
concept of **subaddress** has been introduced.
|
||||
|
||||
The first, original address of the wallet is usually known as the *master
|
||||
address*. All others are just *subaddresses*, even if they represent a separate
|
||||
account within the wallet.
|
||||
|
|
|
@ -84,7 +84,7 @@ Or limit by both criteria at the same time:
|
|||
In [3]: wallet.incoming(payment_id='f75ad90e25d71a12', min_height=1087601)
|
||||
Out[3]: [in: f34b495cec77822a70f829ec8a5a7f1e727128d62e6b1438e9cb7799654d610e @ 1087601 3.000000000000 id=f75ad90e25d71a12]
|
||||
|
||||
With Monero releases > 0.11.x you will be also able to filter payments by the address:
|
||||
You may also filter payments by the address:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
|
|
|
@ -1,10 +1,8 @@
|
|||
Using wallet and accounts
|
||||
=========================
|
||||
|
||||
The wallet, up to Monero 'Helium Hydra' (0.11.x) release, had only single
|
||||
address and no concept of accounts. This will change with the next version
|
||||
which is planned to be published in March 2018 and already is available for
|
||||
testing.
|
||||
Since Monero 'Helium Hydra' (0.11.x) the wallet handles accounts and deterministically
|
||||
generated addresses, known as *subaddresses*.
|
||||
|
||||
The wallet
|
||||
----------
|
||||
|
@ -26,15 +24,11 @@ addresses:
|
|||
Accounts and subaddresses
|
||||
-------------------------
|
||||
|
||||
The following part may look strange if you are still using v0.11.x, because the
|
||||
concept of multiple accounts and subaddresses didn't exist back then.
|
||||
|
||||
The accounts are stored in wallet's ``accounts`` attribute, which is a list.
|
||||
|
||||
Regardless of the version, **the wallet by default operates on its account of
|
||||
index 0**, which makes it consistent with the behavior of the CLI wallet
|
||||
client. On v0.11 the following code will work, even though it doesn't make much
|
||||
sense.
|
||||
client.
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
|
@ -58,8 +52,6 @@ Every wallet can have separate accounts and each account can have numerous
|
|||
addresses. The ``Wallet.new_account()`` and ``Account.new_address()`` will
|
||||
create new instances.
|
||||
|
||||
(This snippet will fail on Monero v0.11.x)
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
In [9]: w.new_address()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue