electrum-nvc.git
9 years agoRemoved failing test for now
Chris Glass [Wed, 9 Jul 2014 09:04:49 +0000]
Removed failing test for now

As discussed on IRC, it might be too early to write this test since the
behavior is not entirely defined yet.

9 years agoAdd tests to the wallet.py module.
Chris Glass [Thu, 3 Jul 2014 06:24:25 +0000]
Add tests to the wallet.py module.

This increases test coverage a lot.

9 years agofix: add type 'aaddress' in change output
ThomasV [Tue, 8 Jul 2014 21:53:20 +0000]
fix: add type 'aaddress' in change output

9 years agostore output type explicitly in tuple
ThomasV [Tue, 8 Jul 2014 17:38:16 +0000]
store output type explicitly in tuple

9 years agofix syntax of redeem_script
ThomasV [Tue, 8 Jul 2014 17:27:43 +0000]
fix syntax of redeem_script

9 years agouse QPlainTextEdit instead of QTextEdit
ThomasV [Tue, 8 Jul 2014 15:00:52 +0000]
use QPlainTextEdit instead of QTextEdit

9 years agofix: get_action
ThomasV [Mon, 7 Jul 2014 21:35:01 +0000]
fix: get_action

9 years agomake seed dialog a bit wider
ThomasV [Mon, 7 Jul 2014 18:58:37 +0000]
make seed dialog a bit wider

9 years agotransaction: separate deserialize and update methods
ThomasV [Mon, 7 Jul 2014 16:01:43 +0000]
transaction: separate deserialize and update methods

9 years agofixes for pending accounts
ThomasV [Mon, 7 Jul 2014 13:43:02 +0000]
fixes for pending accounts

9 years agoget_master_public_key: always return xpub of main account
ThomasV [Sun, 6 Jul 2014 21:20:27 +0000]
get_master_public_key: always return xpub of main account

9 years agorm duplicate method getpubkey
ThomasV [Sun, 6 Jul 2014 20:24:09 +0000]
rm duplicate method getpubkey

9 years agoadd_keypairs: simplification
ThomasV [Sun, 6 Jul 2014 20:10:26 +0000]
add_keypairs: simplification

9 years agoRewrite accounts and transactions: store pubkeys instead of addresses in order to...
ThomasV [Sun, 6 Jul 2014 19:10:41 +0000]
Rewrite accounts and transactions: store pubkeys instead of addresses in order to avoid unnecessary derivations.

9 years agowizard: ask for password earlier during restore
ThomasV [Sat, 5 Jul 2014 23:49:22 +0000]
wizard: ask for password earlier during restore

9 years agofix #750
ThomasV [Sat, 5 Jul 2014 01:57:05 +0000]
fix #750

9 years agofix: get_action should call get_master_public_key
ThomasV [Tue, 1 Jul 2014 17:17:43 +0000]
fix: get_action should call get_master_public_key

9 years agobetter integration of plugins in installwizard (for 2fa, trezor plugins)
ThomasV [Tue, 1 Jul 2014 16:46:11 +0000]
better integration of plugins in installwizard (for 2fa, trezor plugins)

9 years agofix: abort signing thread if wallet is watching only
ThomasV [Tue, 1 Jul 2014 06:35:28 +0000]
fix: abort signing thread if wallet is watching only

9 years agoadd support for RSA_SHA256
ThomasV [Mon, 30 Jun 2014 18:19:18 +0000]
add support for RSA_SHA256

9 years agofix #744
ThomasV [Mon, 30 Jun 2014 16:32:00 +0000]
fix #744

9 years agotry pyasn1-modules as well
ThomasV [Mon, 30 Jun 2014 16:12:39 +0000]
try pyasn1-modules as well

9 years agofix #745
ThomasV [Mon, 30 Jun 2014 15:59:36 +0000]
fix #745

9 years agoMerge pull request #746 from slush0/bits
ThomasV [Mon, 30 Jun 2014 15:51:02 +0000]
Merge pull request #746 from slush0/bits

Base unit 'bits'

9 years agoMerge pull request #743 from pooler/usagefix
ThomasV [Mon, 30 Jun 2014 15:50:07 +0000]
Merge pull request #743 from pooler/usagefix

Fix usage summary

9 years agoMerge pull request #747 from wozz/URI_tests
ThomasV [Mon, 30 Jun 2014 15:48:42 +0000]
Merge pull request #747 from wozz/URI_tests

Update tests and fix URI parsing

9 years agoShouldn't redo URI encoding
Michael Wozniak [Mon, 30 Jun 2014 15:10:50 +0000]
Shouldn't redo URI encoding

9 years agoUpdate tests and fix URI parsing
Michael Wozniak [Mon, 30 Jun 2014 14:41:12 +0000]
Update tests and fix URI parsing

Update URI parsing for BIP0072 compatability
Update tests for parse_URI

9 years agoAdded base unit 'bits'.
slush0 [Mon, 30 Jun 2014 14:40:11 +0000]
Added base unit 'bits'.

9 years agoFix usage summary
pooler [Mon, 30 Jun 2014 12:59:57 +0000]
Fix usage summary

9 years agosupport for OP_RETURN
ThomasV [Fri, 27 Jun 2014 15:08:20 +0000]
support for OP_RETURN

9 years agoMerge pull request #741 from chrisglass/clean-support-testnet
ThomasV [Fri, 27 Jun 2014 14:23:29 +0000]
Merge pull request #741 from chrisglass/clean-support-testnet

Made all bip32 primitives testnet compatible.

9 years agoMade use of fewer constants
Chris Glass [Fri, 27 Jun 2014 14:05:03 +0000]
Made use of fewer constants

9 years agoMade all bip32 primitives testnet compatible.
Chris Glass [Fri, 27 Jun 2014 13:44:43 +0000]
Made all bip32 primitives testnet compatible.

9 years agofix missing import. fixes #738
ThomasV [Fri, 27 Jun 2014 12:42:02 +0000]
fix missing import. fixes #738

9 years agoupdate comment on x509 class
ThomasV [Fri, 27 Jun 2014 09:44:34 +0000]
update comment on x509 class

9 years agooptional parameters for create_new_address
ThomasV [Fri, 27 Jun 2014 09:38:35 +0000]
optional parameters for create_new_address

9 years agouse x509 to check if server certificate has expired
ThomasV [Fri, 27 Jun 2014 09:36:51 +0000]
use x509 to check if server certificate has expired

9 years agodon't show qrcode button in payto if it is a payment request
ThomasV [Thu, 26 Jun 2014 19:08:24 +0000]
don't show qrcode button in payto if it is a payment request

9 years agouse the ca list that ships with requests. update test.
ThomasV [Thu, 26 Jun 2014 17:52:09 +0000]
use the ca list that ships with requests. update test.

9 years agocatch zbar.UnsupportedError
ThomasV [Thu, 26 Jun 2014 17:23:15 +0000]
catch zbar.UnsupportedError

9 years agoallow address creation beyond gap limit in GUI. fixes #512
ThomasV [Thu, 26 Jun 2014 16:55:22 +0000]
allow address creation beyond gap limit in GUI. fixes #512

9 years agouse an input queue in synchronizer, so that new addresses can be created from other...
ThomasV [Thu, 26 Jun 2014 15:41:09 +0000]
use an input queue in synchronizer, so that new addresses can be created from other threads

9 years agoMerge pull request #737 from chrisglass/fix-user-config-writing
ThomasV [Thu, 26 Jun 2014 13:07:38 +0000]
Merge pull request #737 from chrisglass/fix-user-config-writing

Fixes previously introduced bug

9 years agoFixed docstrings
Chris Glass [Thu, 26 Jun 2014 11:24:14 +0000]
Fixed docstrings

9 years agoFixes previously introduced bug
Chris Glass [Thu, 26 Jun 2014 11:22:02 +0000]
Fixes previously introduced bug

The passed in command line options were saved to the user config.

9 years agoMerge pull request #736 from chrisglass/more-tests-2
ThomasV [Thu, 26 Jun 2014 09:58:25 +0000]
Merge pull request #736 from chrisglass/more-tests-2

Add tests to the SimpleConfig object (resubmit)

9 years agoForward-merging changes from master
Chris Glass [Thu, 26 Jun 2014 09:23:46 +0000]
Forward-merging changes from master

To make sure tests pass or fail with the latest code.

9 years agoAdded more tests for user config parsing.
Chris Glass [Thu, 26 Jun 2014 09:08:13 +0000]
Added more tests for user config parsing.

9 years agoestimate fee using number of outputs
ThomasV [Thu, 26 Jun 2014 08:40:33 +0000]
estimate fee using number of outputs

9 years agoAdded tests for the system config function.
Chris Glass [Thu, 26 Jun 2014 08:08:00 +0000]
Added tests for the system config function.

9 years agoSystem config should never be None
Chris Glass [Wed, 25 Jun 2014 18:33:04 +0000]
System config should never be None

9 years agoAdded more tests for edge cases.
Chris Glass [Wed, 25 Jun 2014 16:04:37 +0000]
Added more tests for edge cases.

9 years agoTravis now excludes "gui"
Chris Glass [Wed, 25 Jun 2014 15:52:05 +0000]
Travis now excludes "gui"

Instead of selectively including valid packages.

9 years agoDo not use mutables as default values!
Chris Glass [Wed, 25 Jun 2014 15:43:45 +0000]
Do not use mutables as default values!

This blog article explains why (just an example, many other articles
discuss this ad nauseam):
http://pythonconquerstheuniverse.wordpress.com/2012/02/15/mutable-default-arguments/

9 years agoAdded a lot of tests for SimpleConfig
Chris Glass [Wed, 25 Jun 2014 15:34:51 +0000]
Added a lot of tests for SimpleConfig

Refactored the SImpleConfig class a lot to make sure the behavior is
always defined.

9 years agoMerge branch 'master' of git://github.com/spesmilo/electrum
ThomasV [Wed, 25 Jun 2014 14:46:05 +0000]
Merge branch 'master' of git://github.com/spesmilo/electrum

9 years agorestore from xprv
ThomasV [Wed, 25 Jun 2014 14:45:55 +0000]
restore from xprv

9 years agoMerge pull request #733 from chrisglass/add-more-tests
ThomasV [Wed, 25 Jun 2014 10:07:51 +0000]
Merge pull request #733 from chrisglass/add-more-tests

Add more tests

9 years agoMerge pull request #732 from chrisglass/fix-travis
ThomasV [Wed, 25 Jun 2014 09:37:42 +0000]
Merge pull request #732 from chrisglass/fix-travis

Fix travis

9 years agoMerging master to add-more-test to fix travis
Chris Glass [Wed, 25 Jun 2014 09:25:10 +0000]
Merging master to add-more-test to fix travis

This will make travis tests work on this branch as well.

9 years agoAdded mnemonic to seed tests
Chris Glass [Wed, 25 Jun 2014 09:21:39 +0000]
Added mnemonic to seed tests

9 years agoChanged pacakge dependencies for travis
Chris Glass [Wed, 25 Jun 2014 09:04:40 +0000]
Changed pacakge dependencies for travis

Forced slowaes version.

9 years agoRenamed travis config file.
Chris Glass [Wed, 25 Jun 2014 08:53:17 +0000]
Renamed travis config file.

9 years agoComment on wallet classes. Use address_is_old to check if address is beyond gap limit
ThomasV [Wed, 25 Jun 2014 08:53:06 +0000]
Comment on wallet classes. Use address_is_old to check if address is beyond gap limit

9 years agoAdded util test file
Chris Glass [Wed, 25 Jun 2014 08:50:21 +0000]
Added util test file

9 years agovideo_device default should be string
ThomasV [Wed, 25 Jun 2014 08:50:18 +0000]
video_device default should be string

9 years agoMerge pull request #731 from chrisglass/refactor-tests
ThomasV [Wed, 25 Jun 2014 08:49:00 +0000]
Merge pull request #731 from chrisglass/refactor-tests

Refactored tests, wrote tests, added CI config file.

9 years agoAdded more bitcoin tests
Chris Glass [Wed, 25 Jun 2014 08:39:50 +0000]
Added more bitcoin tests

9 years agoMade travis only run on lib/
Chris Glass [Wed, 25 Jun 2014 06:50:22 +0000]
Made travis only run on lib/

9 years agoAdded travis config file.
Chris Glass [Wed, 25 Jun 2014 06:49:33 +0000]
Added travis config file.

9 years agoMade _do_test_crypto private to allow nosetests
Chris Glass [Wed, 25 Jun 2014 06:45:37 +0000]
Made _do_test_crypto private to allow nosetests

9 years agoAdded private/public key tests
Chris Glass [Wed, 25 Jun 2014 06:27:45 +0000]
Added private/public key tests

Including converting from a private key to a public key, and
deriving the primary address from a private key.

9 years agoMoved bitcoin.py tests to their own file
Chris Glass [Wed, 25 Jun 2014 05:35:49 +0000]
Moved bitcoin.py tests to their own file

This allows standard python testing tools to discover and run them.

9 years agoAdded _trial_temp to .gitignore
Chris Glass [Wed, 25 Jun 2014 05:25:04 +0000]
Added _trial_temp to .gitignore

9 years agofix payto size
ThomasV [Tue, 24 Jun 2014 20:28:54 +0000]
fix payto size

9 years agowallet.is_beyond_limit (False for imported accounts)
ThomasV [Tue, 24 Jun 2014 18:47:44 +0000]
wallet.is_beyond_limit (False for imported accounts)

9 years agoadd missing module qrtextedit
ThomasV [Tue, 24 Jun 2014 18:31:39 +0000]
add missing module qrtextedit

9 years agocatch exception within sign thread, to re-enable send button
ThomasV [Tue, 24 Jun 2014 17:09:41 +0000]
catch exception within sign thread, to re-enable send button

9 years agoremove unused variable.
ThomasV [Tue, 24 Jun 2014 16:02:19 +0000]
remove unused variable.

9 years agodefine frozen signal for exchange rate plugin
ThomasV [Tue, 24 Jun 2014 15:44:31 +0000]
define frozen signal for exchange rate plugin

9 years agominor fix
ThomasV [Tue, 24 Jun 2014 15:43:23 +0000]
minor fix

9 years agocatch exceptions raised by fiat amount conversion to decimal
ThomasV [Tue, 24 Jun 2014 15:06:04 +0000]
catch exceptions raised by fiat amount conversion to decimal

9 years agovarious bugfixes for imported addresses
ThomasV [Tue, 24 Jun 2014 14:47:58 +0000]
various bugfixes for imported addresses

9 years agofix import
ThomasV [Tue, 24 Jun 2014 14:34:22 +0000]
fix import

9 years agoMerge pull request #730 from chrisglass/pep8ing-phase-one
ThomasV [Tue, 24 Jun 2014 14:30:22 +0000]
Merge pull request #730 from chrisglass/pep8ing-phase-one

First cleanup branch

9 years agoRemoved uselss comment.
Chris Glass [Tue, 24 Jun 2014 13:48:50 +0000]
Removed uselss comment.

9 years agoFirst cleanup branch commit
Chris Glass [Tue, 24 Jun 2014 13:12:43 +0000]
First cleanup branch commit

This fixes some import and whitespace issues to align closer to pep8.
I added a few comments to make further contributions easier.

9 years agotx dialog hooks
ThomasV [Tue, 24 Jun 2014 12:48:15 +0000]
tx dialog hooks

9 years agodetect if wallet can sign tx before showing sign button
ThomasV [Tue, 24 Jun 2014 11:22:10 +0000]
detect if wallet can sign tx before showing sign button

9 years agofix bug with the order of signatures in tx input
ThomasV [Mon, 23 Jun 2014 07:42:07 +0000]
fix bug with the order of signatures in tx input

9 years agomessage: cosigner wallet
ThomasV [Sun, 22 Jun 2014 11:26:02 +0000]
message: cosigner wallet

9 years agofix: edit label
ThomasV [Sun, 22 Jun 2014 11:25:30 +0000]
fix: edit label

9 years agoshow number of tx signatures in gui
ThomasV [Sun, 22 Jun 2014 10:07:41 +0000]
show number of tx signatures in gui

9 years agogetmpk: return list of accounts
ThomasV [Sun, 22 Jun 2014 06:06:37 +0000]
getmpk: return list of accounts

9 years agohelp text for signrawtransaction
ThomasV [Sun, 22 Jun 2014 06:05:13 +0000]
help text for signrawtransaction

9 years agoserialize: do not use x_pubkeys if we have enough signatures.
ThomasV [Sat, 21 Jun 2014 20:09:35 +0000]
serialize: do not use x_pubkeys if we have enough signatures.

9 years agofix add_keypairs: support old wallets
ThomasV [Sat, 21 Jun 2014 19:39:57 +0000]
fix add_keypairs: support old wallets

9 years agoprint traceback in waiting dialog
ThomasV [Sat, 21 Jun 2014 19:38:42 +0000]
print traceback in waiting dialog

9 years agocleanup (dead code)
ThomasV [Sat, 21 Jun 2014 19:17:40 +0000]
cleanup (dead code)