Commit Graph

90 Commits

Author SHA1 Message Date
thomasv 72b4ac97d0 use portable flag on android instead of explicit path for headers file. use urllib.retrieve() 2012-12-17 17:51:52 +01:00
thomasv e2a2596479 fix: case where wdir path is empty (portable wallet) 2012-12-17 15:24:06 +01:00
thomasv ba39f8bec0 do not bundle blockchain headers with packages 2012-12-17 11:18:49 +01:00
thomasv 16a81271e4 store timestamps in verifier 2012-12-05 19:12:28 +01:00
thomasv 108dfb6140 revert to daemon threads because some clients do not seem to close their sockets cleanly 2012-12-05 10:24:30 +01:00
ThomasV 9afbf21197 no daemon 2012-11-24 20:35:09 +01:00
ThomasV 0ad7f72d3d nodaemon 2012-11-24 20:35:09 +01:00
thomasv 8ec2b16e21 use None as timestamp for pending transactions 2012-11-16 10:18:35 +01:00
thomasv 8fc042ee22 more fixes for the 0.6 servers 2012-11-15 10:34:56 +01:00
ThomasV cc2ef02c2b gui fixes 2012-11-15 09:14:24 +01:00
ThomasV 8ec6a60daf compatibility with 0.6 protocol 2012-11-14 15:33:44 +01:00
ThomasV e39a5c9609 init headers file 2012-11-07 08:45:53 +01:00
thomasv dd2302140f include headers file in package 2012-11-05 13:03:05 +01:00
thomasv 73dc533e79 set timestamps on startup 2012-11-05 10:26:28 +01:00
ThomasV 39a85767a3 solve deadlock during restore 2012-11-04 20:53:27 +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 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 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 18c9c2f369 request headers chunk if we need more than 50 blocks 2012-10-27 13:02:59 +02:00
ThomasV 5edf41f2e0 cosmetic change 2012-10-27 12:10:16 +02:00
ThomasV 3216c0467d use print_error 2012-10-26 18:25:43 +02:00
ThomasV a63b9e527e by default, use user dir 2012-10-26 17:44:07 +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