Commit Graph

172 Commits

Author SHA1 Message Date
Michał Sałaban a7c8579b13 Check type of amounts passed to conversion, avoid MemoryError when a string is being concatenated 10^12 times. Close#48 2019-04-04 13:07:53 +02:00
Michał Sałaban 3358e5a30a Remove compatibility and most references to archaic version of Monero 2019-04-03 00:03:34 +02:00
Michał Sałaban 864829b858 Properly handle account labels 2019-04-02 22:42:50 +02:00
Michał Sałaban 5f340482d0 Bump up to 0.5.1 2019-03-12 11:27:46 +01:00
Michał Sałaban d81b29182f Fix bug in destinations amounts 2019-03-12 11:27:46 +01:00
moneroexamples f59e6c402b Caching of ed25519 values for public keys in seed
Based on:

https://github.com/emesik/monero-python/issues/42#issuecomment-458780087
2019-01-31 09:28:44 +08:00
Michał Sałaban c999f68cf1 Remove obsolete comment 2019-01-28 00:13:12 +01:00
Michał Sałaban 213c352afe Add missing copyright notice 2019-01-04 11:27:41 +00:00
Michał Sałaban 3b832040c6 Add range check 2019-01-04 11:25:28 +00:00
Michał Sałaban b0526972bd Up to 0.5 2019-01-03 18:15:01 +00:00
Michał Sałaban d9c68a86c6 Cleanup and update 2019-01-03 18:03:33 +00:00
Michał Sałaban d0a2d35176 Add offline subaddress generation 2019-01-03 16:36:26 +00:00
Michał Sałaban 6c1f667840 Merge branch 'master' into 0.5.x 2019-01-02 23:16:03 +00:00
Michał Sałaban bab0099419 Rearrange address class hierarchy 2018-12-15 03:53:19 +00:00
Michał Sałaban e12ecbaefb Release 0.4.4 2018-11-30 00:51:37 +00:00
Michał Sałaban 000a1d5cff Issue a warning when filtering by height but also asking for mempool transactions, fix #37 2018-11-30 00:51:37 +00:00
Michał Sałaban e3dcc96a60 Add secret key checking methods 2018-11-30 00:51:37 +00:00
Michał Sałaban 5ee551fa4a Return None when spend key is zero (view-only wallet) 2018-10-22 21:46:45 +02:00
Michał Sałaban 005076e8a2 Merge branch 'master' into 0.5.x 2018-10-22 21:40:34 +02:00
Michał Sałaban 980770a2b7 Remove excess import 2018-10-22 21:37:04 +02:00
Michał Sałaban 9d03995092 Remove the ringsize parameter 2018-10-19 01:32:04 +02:00
Michał Sałaban 91c720ecee Sort payments by height (descending) and mempool on top 2018-10-19 01:26:15 +02:00
Michał Sałaban 2d9843fec9 Make list of destinations a tuple, like argument to transfer_multiple();
Initialize destinations as empty list, make iterations straightforward
2018-10-18 23:49:32 +02:00
Michał Sałaban 55ce01f555 Merge branch 'master' into lialsoftlab-tx_confirmations 2018-10-18 23:27:33 +02:00
Michał Sałaban d0dd554e38 Add new RPC error code pending as PR 2018-10-18 23:20:27 +02:00
Alexey V. Litvinov 4fc8495727 Support for confirmations number in transactions. 2018-10-18 16:15:20 +10:00
Alexey V. Litvinov 339363b575 Fix for python 2.x compatibility issue. 2018-10-18 14:47:01 +10:00
Alexey V. Litvinov ee8aea69bd Destinations adresses support in outgoing payment transactions. 2018-10-18 13:44:54 +10:00
Michał Sałaban 915590780f Add methods for exporting/importing outputs and key images 2018-10-11 18:24:59 +02:00
codeforcer a31afd84e5 support for rpc login in regular monero daemon 2018-10-09 22:24:06 +02:00
Michał Sałaban e8b70cfff0 Bump up version 2018-10-06 01:58:07 +02:00
Michał Sałaban 42dbaa7c98 Update to scheduled hard fork v8, warn about deprecation of dynamic ring size 2018-10-06 01:57:37 +02:00
Maciej Urbanski e4af96540d base58 improvements 2018-10-06 01:00:23 +02:00
Michał Sałaban dc3180753b Clean up imports 2018-07-24 15:25:58 +02:00
Michał Sałaban 101064ad7c Prepare v0.4.2 2018-07-06 15:05:04 +02:00
zhixin.xiu 0250d8fc25 transfer with payment id 2018-07-06 15:02:06 +02:00
Michał Sałaban aa9c341167 Bump up version 2018-07-03 14:44:09 +02:00
Michał Sałaban e77f57ad11 Add note on local changes 2018-07-03 14:43:11 +02:00
Maciej Urbanski 164f6afb7c
slightly better base58 (still ugly tho) 2018-07-02 19:01:25 +02:00
Michał Sałaban ce47e90535 Bump up version 2018-06-24 23:59:00 +02:00
Michał Sałaban 7176f3fa0f Properly raise exceptions in base58 code; partial fix for #27 2018-06-07 22:34:13 +02:00
Michał Sałaban b14770ea5a Instantiate the address returned by Seed 2018-06-04 12:53:45 +02:00
Adam Ward 9f6fed8ced Imported mnemonic wordlists from monero-project 2018-06-03 12:32:02 +10:00
Adam Ward 4c9ca07006 Add support for multiple mnemonic wordlist
Added Wordlist class and registry
Moved mnemonic encoding/decoding logic from Seed to Wordlist
2018-06-03 12:30:48 +10:00
Michał Sałaban ee16fd41b9 Save hexlify/unhexlify cycles 2018-05-26 18:01:11 +02:00
Michał Sałaban ce9427180b Simplify the Seed class interface, raise ValueError instead of assertions 2018-05-26 17:58:39 +02:00
Michał Sałaban 83eca24ce0 Add handling for 12/13-word seeds (MyMonero style) 2018-05-26 17:42:55 +02:00
Michał Sałaban 10c6ee1a67 Fix bytes/str conflict in Python 3, add network selection for address derivation from the seed 2018-05-24 12:38:59 +02:00
Michał Sałaban d032fd2d86 Prepare for release 0.3 2018-05-21 17:26:51 +02:00
Michał Sałaban a037f121b7 Add support for stagenet addresses 2018-05-21 17:25:28 +02:00
Michał Sałaban 539ad6b165 Prepare for v0.2 2018-03-16 00:31:22 +01:00
Michał Sałaban cd41ee29be Prepare for v7 hard fork, set default ring size to 7 (closes #16) 2018-03-16 00:21:09 +01:00
cryptochangements 4316cfa296 Generate keys and Addresses 2018-02-21 23:41:20 -05:00
Michał Sałaban bd0777262e Merge branch '0.1.x' 2018-02-22 04:48:01 +01:00
Michał Sałaban 3357235664 Bump up version 2018-02-22 04:45:08 +01:00
Michał Sałaban a91b975e4d Return Seed object from the wallet 2018-02-19 23:06:16 +01:00
Michał Sałaban 94656dc771
Merge pull request #11 from lalanza808/mnemonics
Seed class for interacting with Monero secret seeds
2018-02-19 22:56:37 +01:00
lance allen 6adb4eeae1
Squashed commit of the following:
commit 091aa668e194489e3a45e418941ea922c09f7024
Author: lance allen <lrallen03@gmail.com>
Date:   Mon Feb 19 09:32:50 2018 -0800

    removing extraneous import

commit 47d2dbcf4e20a4cbba1bb77caa39e8005db00042
Author: lance allen <lrallen03@gmail.com>
Date:   Mon Feb 19 00:18:19 2018 -0800

    matching the version to emesik master and fixing the method name

commit 63b5f5fae3a3125b36a6ed18f3f7e47e54cd1d1d
Author: lance allen <lrallen03@gmail.com>
Date:   Sun Feb 18 22:38:37 2018 -0800

    adding unit file for seed class

commit 515ccfe18663d6f52810d59ccdd9ab51e2be7d58
Author: lance allen <lrallen03@gmail.com>
Date:   Sun Feb 18 22:38:17 2018 -0800

    updating init files

commit 6e0803661f08694a5a81a83a7fbeede6e18f741c
Author: lance allen <lrallen03@gmail.com>
Date:   Sun Feb 18 22:37:46 2018 -0800

    updating init from assert to raise, set gte operator on checks

commit e066039bf8ccf5128987e6d291864f3a9d61df28
Author: lance allen <lrallen03@gmail.com>
Date:   Sun Feb 18 18:42:30 2018 -0800

    move get_checksum outside of class and always return seed with checksum

commit 1b0cb8adc6945d777abba18acfcaf8d3b6f4be42
Author: lance allen <lrallen03@gmail.com>
Date:   Sun Feb 18 17:14:46 2018 -0800

    removing extraneous seed_ prefixes from class vars and change class param to

commit 9b60a34da554696f3cfbfd7cb3f0780dfc32bc55
Author: lance allen <lrallen03@gmail.com>
Date:   Sun Feb 18 13:52:12 2018 -0800

    move generate_hex function outside of class

commit 162036cb38ff5a90cf515fd951d70299117866aa
Author: lance allen <lrallen03@gmail.com>
Date:   Sun Feb 18 13:49:46 2018 -0800

    adding string input to class constructor and determine validity

commit 30f04ade1819b152fd600eff0b7364d9bd7aaab4
Author: lalanza808 <lrallen03@gmail.com>
Date:   Sat Feb 17 23:59:19 2018 -0800

    adding commit hashes and revamping comments

commit c46029fbc9bf74bf64231a1d4c4c6613be08bf00
Author: lalanza808 <lrallen03@gmail.com>
Date:   Sat Feb 17 23:18:07 2018 -0800

    adding licensing, verb noun functions, checksum val, hex generation

commit fa38d8aa1ea3aeb5ba7d03f89f9610a1b9b76e49
Author: lance allen <lrallen03@gmail.com>
Date:   Sat Feb 17 16:57:19 2018 -0800

    adding seed class for encoding/decoding mnemonic phrases or hex strings

commit d523e51a92c626a435aad64740d2fe04eb2f8b99
Author: lance allen <lrallen03@gmail.com>
Date:   Sat Feb 17 16:57:03 2018 -0800

    adding english wordlist for mnemonic seeds

commit f6d78a497a0d48b565f1a584b51150a03f9df7d6
Author: lance allen <lrallen03@gmail.com>
Date:   Sat Feb 17 16:56:48 2018 -0800

    updating monero init file to include wordlists
2018-02-19 09:35:30 -08:00
Michał Sałaban aa5b2b65f9 Bump up the version 2018-02-18 21:34:04 +01:00
Michał Sałaban 4287a1918c Describe mempool() method 2018-02-18 21:21:30 +01:00
Michał Sałaban d20b710034 Clean up unused code 2018-02-18 21:21:17 +01:00
Michał Sałaban 9e9b75a42e Add API docs for backend and transaction classes 2018-02-16 13:46:14 +01:00
Michał Sałaban 0aff11fc59 Add API doc for Daemon 2018-02-15 21:41:51 +01:00
Michał Sałaban c729611c81 Add numbers module docs, describe transaction priorities 2018-02-15 21:32:26 +01:00
Michał Sałaban 775e3bd7a4 Add API docs for Account and Wallet 2018-02-15 21:20:48 +01:00
Michał Sałaban e76f90b70d v0.1.1 2018-02-14 14:15:20 +01:00
Michał Sałaban 1d633410da Add fixes to work with Monero 0.11 2018-02-14 14:06:41 +01:00
Michał Sałaban 9a6bc49a28 Use protocol constant 2018-02-05 23:38:45 +01:00
Michał Sałaban 4655de6f25 Display height, optimize 2018-02-05 19:05:42 +01:00
Michał Sałaban 6a5dc9ad6d Add defaults and fix ranges in height query 2018-02-05 19:05:42 +01:00
Michał Sałaban 68e631ebe3 Test outgoing transfers 2018-01-31 00:22:26 +01:00
Michał Sałaban 323746b80a Allow sending transactions with relaying disabled 2018-01-31 00:21:53 +01:00
Michał Sałaban c073a9d1a3 Update tests, fix bugs 2018-01-30 19:56:36 +01:00
Michał Sałaban ed383d6040 Update checks and tests 2018-01-30 12:47:10 +01:00
Michał Sałaban a814197057 Refactor transfer query 2018-01-29 21:26:46 +01:00
Michał Sałaban e058155124 Add exception for no daemon connection 2018-01-29 10:14:24 +01:00
Michał Sałaban c695e43883 Remove excessive get_ prefixes from method names 2018-01-28 21:00:24 +01:00
Michał Sałaban 090ef0c984 Update to recent Monero project state 2018-01-28 15:38:10 +01:00
Michał Sałaban a16ae37a94 Reorganize payments and transactions 2018-01-26 20:12:24 +01:00
Michał Sałaban 8ae386904a Fix typo 2018-01-25 08:00:02 +01:00
Michał Sałaban a59a8f737a Merge branch 'mempool' 2018-01-25 07:56:53 +01:00
Michał Sałaban 01060cbe7d Add exception 2018-01-22 04:51:56 +01:00
Michał Sałaban 6255ca48a7 Add exception on transaction not found 2018-01-22 04:18:00 +01:00
Michał Sałaban 3854a9e0eb Fix crash on empty mempool 2018-01-22 04:03:40 +01:00
Michał Sałaban aa155b0520 Fix: use proper class; add comment on pending PR 2018-01-22 03:58:29 +01:00
Michał Sałaban 38704ba8ea Handle mempool transactions 2018-01-22 03:56:05 +01:00
Michał Sałaban d0bc224e78 Fix: use proper class; add comment on pending PR 2018-01-22 03:21:25 +01:00
Michał Sałaban 582bd1c9e4 Correct error message 2018-01-18 03:03:18 +01:00
Michał Sałaban 8fbc8e853a Change the default port 2018-01-18 03:02:43 +01:00
Lance Allen 3a9600672b fixing variable referencing _log 2018-01-17 06:03:18 -08:00
Michał Sałaban 0e66388e6e Correct imports, add version 2018-01-16 22:08:11 +01:00
Michał Sałaban 099218b685 Add apidocs for address 2018-01-16 22:07:51 +01:00
Michał Sałaban 8e6970ea38 Automatically relay transactions (note: the flag is not documented) 2018-01-16 01:27:07 +01:00
Michał Sałaban f8bb84c458 Add transaction broadcasting 2018-01-15 04:12:53 +01:00
Michał Sałaban 900bcdc2ed Add daemon API sketch 2018-01-15 03:18:57 +01:00
Michał Sałaban 333caafa90 Add key retrieval 2018-01-14 06:28:28 +01:00
Michał Sałaban 34fa48fcf8 Allow creating txs without relaying to the network 2018-01-14 05:34:54 +01:00
Michał Sałaban 1be5d0b063 Bugfixing: mixin vs ringsize, get_addresses() in wallet 2018-01-13 22:24:17 +01:00
Michał Sałaban a1849cab8d Add methods for account and address creation; Retrieve labels 2018-01-11 23:17:34 +01:00
Michał Sałaban 0d0cc34353 Recognize "TX not possible" exception 2018-01-11 06:14:34 +01:00