Commit Graph

548 Commits

Author SHA1 Message Date
thomasv 80e97feb47 fix syntax error in lite gui and get_default_label 2012-11-05 10:42:57 +01:00
thomasv 73dc533e79 set timestamps on startup 2012-11-05 10:26:28 +01:00
ThomasV 32d0f6ed27 send protocol version 2012-11-04 22:45:50 +01:00
ThomasV 39a85767a3 solve deadlock during restore 2012-11-04 20:53:27 +01:00
ThomasV 5bb441ce37 add mnemonic functions to module 2012-11-04 19:40:17 +01:00
ThomasV 6fc0ae633d bugfix: wanted-> missing 2012-11-04 19:27:21 +01:00
ThomasV 4e4d4d33c3 fix race condition with prevout_values 2012-11-04 17:17:40 +01:00
ThomasV e0c03d6207 request missing transactions on startup 2012-11-04 16:59:50 +01:00
ThomasV f1d4838012 rename history -> addr_history 2012-11-04 15:47:19 +01:00
ThomasV efccde2e8e fix: timestamps in transactions 2012-11-04 15:38:34 +01:00
ThomasV 0a7b69fc5b gui fixes 2012-11-04 11:57:12 +01:00
ThomasV 13c9991be8 fix: get_tx_value 2012-11-04 11:47:20 +01:00
ThomasV 4788ea62de fix: get_tx_value 2012-11-04 11:38:09 +01:00
ThomasV f1a7473ae2 do not use old servers 2012-11-04 11:08:05 +01:00
thomasv 4cbee7554f new protocol: the server sends serialized tx, deserialize it in the client 2012-11-04 10:56:39 +01:00
ThomasV ea42a74824 default ports to be used if we cannot get a list of peers 2012-11-01 11:43:59 +01:00
ThomasV 2a572a185a get_string 2012-10-30 22:04:37 +01:00
ThomasV 5fac0ecfc4 simplification 2012-10-30 21:28:46 +01:00
thomasv e2add776bc text gui: spacing between tabs 2012-10-30 18:42:39 +01:00
thomasv 43ceb6b52a text gui: dialogs 2012-10-30 18:36:09 +01:00
thomasv 05c09ac9ac popups and messages 2012-10-30 16:56:58 +01:00
thomasv d2711ac757 popup windows, selectors 2012-10-30 14:56:16 +01:00
thomasv 60bac7257e show active tab in bold 2012-10-29 17:23:50 +01:00
thomasv 5e28ccd09d Improve text gui. Disable print_error when text gui is used. 2012-10-29 16:22:53 +01:00
thomasv cdb52c30d2 do not request merkle root for unconfirmed transactions 2012-10-29 09:31:42 +01:00
ThomasV ea7dabe640 fix proxy index 2012-10-28 21:59:51 +01:00
ThomasV 5874457df2 fix: subscriptions 2012-10-28 10:22:12 +01:00
ThomasV 6df9eb491a revert label change: this was breaking i18n translations. 2012-10-28 07:49:15 +01:00
ThomasV f40ca9efa6 disable text gui, as it is not ready for release 2012-10-28 07:45:11 +01:00
ThomasV 76eff7fdb6 increasing version number, and wiki translation version 2012-10-28 07:41:44 +01:00
ThomasV 71357cfb23 merkle root too 2012-10-27 20:52:32 +02:00
ThomasV 1a7f1daebd fix flags 2012-10-27 20:04:08 +02:00
ThomasV 69c56c5b8d open file with b flag 2012-10-27 19:57:28 +02:00
ThomasV 6de8a946eb use callback instead of wallet.was_updated 2012-10-27 19:20:50 +02:00
thomasv 2307323bb7 redo verifications if a header verification fails 2012-10-27 16:56:04 +02:00
thomasv 8152072938 fix: self.s is None if we are not connected 2012-10-27 16:46:42 +02:00
ThomasV cfb3aa6a12 move 'peers.subscribe' and 'server.version' calls into the interface 2012-10-27 14:15:03 +02:00
ThomasV 18c9c2f369 request headers chunk if we need more than 50 blocks 2012-10-27 13:02:59 +02:00
ThomasV be6aab538d cosmetic change 2012-10-27 12:31:43 +02:00
ThomasV 5edf41f2e0 cosmetic change 2012-10-27 12:10:16 +02:00
ThomasV 35882f7fb7 catch ssl exception caused by timeout 2012-10-27 10:24:43 +02:00
ThomasV 03199dcf2e minor fix for settings dialog combo 2012-10-27 01:19:27 +02:00
ThomasV 208e789af4 fix: synchronizer 2012-10-27 00:02:52 +02:00
ThomasV faa002f53c fix: below or equal in var_int encoding 2012-10-26 22:51:33 +02:00
ThomasV 4038c0273f fix: var_int encoding 2012-10-26 22:49:06 +02:00
ThomasV 3216c0467d use print_error 2012-10-26 18:25:43 +02:00
ThomasV 1ecce5dffc bugfix: default to [], so that we do not create new addresses if the history was deleted 2012-10-26 18:00:32 +02:00
ThomasV a63b9e527e by default, use user dir 2012-10-26 17:44:07 +02:00
thomasv 1f37a330b3 bugfix: add channel when calling send 2012-10-26 16:06:54 +02:00
thomasv b78fd6b3b6 bugfix: address->addr 2012-10-26 15:48:57 +02:00
thomasv b6729b3aab verifier: download chunks first for efficiency 2012-10-26 15:08:12 +02:00
thomasv 15a7626b14 spv: request previous headers recursively in order to support blockchain reorgs 2012-10-26 13:43:20 +02:00
thomasv 1e15dbab81 protocol v0.4: use position for branching 2012-10-26 11:29:11 +02:00
thomasv ee84e5c007 document public methods of verifier 2012-10-26 10:20:47 +02:00
thomasv ee4de40c37 use WalletVerifier.add() method to register transactions 2012-10-26 10:02:09 +02:00
ThomasV 927bbda591 callback everytime there is an update 2012-10-26 07:06:43 +02:00
ThomasV b59e20a1ad return zero if unconfirmed 2012-10-26 06:59:33 +02:00
ThomasV 2a06a5b493 tie confirmation icons to payment verifier 2012-10-26 00:40:19 +02:00
ThomasV 46eabd1dab sort pending headers before they get processed 2012-10-25 22:49:01 +02:00
thomasv 8b865983c6 make the Verifier class usable without a wallet instance 2012-10-25 16:03:16 +02:00
thomasv f91dde55dd subscribe to / verify headers 2012-10-25 15:40:30 +02:00
thomasv b3b31fdc07 alt path for headers 2012-10-25 10:00:11 +02:00
ThomasV b018e0ae53 simple payment verification: check targets, use block headers file. 2012-10-24 21:45:45 +02:00
ThomasV e5c19b64af handle empty string (!= None) 2012-10-23 22:40:52 +02:00
ThomasV 52d72a527a fix: break the loop 2012-10-23 08:15:53 +02:00
ThomasV c9ffb1b4ba fix order 2012-10-23 07:45:56 +02:00
ThomasV 0d68926da2 fix: copy the default servers array 2012-10-22 18:50:17 +02:00
thomasv 3a23e54a1a window title 2012-10-22 17:36:52 +02:00
thomasv 37b0737f6d wait until connected 2012-10-22 17:31:37 +02:00
thomasv c735fcd228 more robust connection procedure: let the user start with proxy 2012-10-22 17:18:07 +02:00
thomasv af0d8d664b save list of verified tx only when needed 2012-10-22 15:44:54 +02:00
thomasv 10d6db468a save to disk the list of verified transactions 2012-10-22 15:40:39 +02:00
thomasv f4b95244c3 typo: expected -> unexpected 2012-10-22 15:17:43 +02:00
thomasv a4d17d3cb9 new 'disconnecting' callback for requested disconnection 2012-10-22 15:15:52 +02:00
thomasv 3cc382b7a0 send another banner request on reconnect 2012-10-22 15:01:13 +02:00
thomasv 4038b81a22 catch exception when client is disconnected 2012-10-22 14:56:59 +02:00
thomasv 8e95706763 init_up_to_date when connected 2012-10-22 14:49:29 +02:00
thomasv 0b76e16d04 allow multiple callbacks for a given name 2012-10-22 13:43:58 +02:00
thomasv 82531131ee interface: do not connect inside the constructor 2012-10-22 12:58:57 +02:00
thomasv 4fbd2ea66e use named callbacks with the interface 2012-10-22 11:34:21 +02:00
ThomasV 33eb749c6a interface for command line mode 2012-10-21 23:22:46 +02:00
ThomasV 2da0c0b77e big refactoring of the interface
addition of the wallet verifier class for SPV
2012-10-21 22:55:16 +02:00
ThomasV 1212982fec pass config to randomly selected server 2012-10-20 17:41:12 +02:00
ThomasV fff922b5d7 fix: random_choice -> random.choice 2012-10-20 17:21:12 +02:00
thomasv a361a05b08 text gui 2012-10-20 10:30:29 +02:00
thomasv 5d01831090 text ui: first commit 2012-10-20 10:30:29 +02:00
thomasv 5717b43661 separate bitcoin related functions from wallet.py 2012-10-19 14:55:01 +02:00
thomasv 728ae0d184 move theme_path functions from util to gui_lite 2012-10-19 14:36:12 +02:00
thomasv e165c13a84 synchronous_get batch method for interface 2012-10-19 14:16:02 +02:00
thomasv 3760486a6a fix side effect and handle case where the initial server was not connected 2012-10-19 11:02:22 +02:00
thomasv fb6a1a0720 better protocol handling in gui 2012-10-19 10:41:20 +02:00
thomasv f1c9aa6603 fix connection_msg 2012-10-19 10:30:51 +02:00
thomasv c5f5e92d17 rename qt gui -> classic 2012-10-19 10:26:35 +02:00
ThomasV 8668e923ce update message: cannot change -> not changing 2012-10-18 22:13:09 +02:00
ThomasV 5919141f0d version 1.1 2012-10-18 20:56:37 +02:00
ThomasV 456d3d5b55 add SSL protocols to network dialog 2012-10-18 20:29:53 +02:00
thomasv 8957c705ac use SSLv23 2012-10-17 12:54:32 +02:00
thomasv 87a28d31a4 client-side support for SSL 2012-10-17 11:35:24 +02:00
ThomasV 27f4a0c28e fix: update history when label changed 2012-10-17 07:18:48 +02:00
thomasv ada24d2463 set default button in seed dialog 2012-10-16 16:39:34 +02:00