2514 Commits (a95a37277c986a72bf62ee8ab88153cabde2cebc)
 

Author SHA1 Message Date
CalDescent ba41d84af9 Initial attempt to avoid an unnecessary block submission if one of our peers already has a higher weight chain. 3 years ago
CalDescent 98831a9449 Break out of the various loops in the cleanup manager if the thread is stopping. 3 years ago
CalDescent 9692539a3f Don't include fee in balance calculation (it looks like it could be double counting at the moment). 3 years ago
CalDescent 76df332b57 Check for null IP address before notifying of an external IP update. 3 years ago
CalDescent c6405340bc minAccountLevelForBlockSubmissions reduced from 6 to 5 3 years ago
CalDescent 775e3c065e Invalidate ElectrumX transactions cache when switching accounts. 3 years ago
CalDescent 8937b3ec86 Don't allow duplicate transaction in the incoming transactions queue. 3 years ago
CalDescent 3fbb86fded Added indexes, to make looking up name transactions by name around 5x faster. 3 years ago
CalDescent 0cf2f7f254 Missing import from last commit 3 years ago
CalDescent 9e571b87e8 Yet another rewrite of fetchAllTransactionsInvolvingName() - this time over 1000x faster since it doesn't involve joining the Transactions table. 3 years ago
CalDescent 23bafb6233 Removed unused methods 3 years ago
CalDescent 6dec65c5d9 Rewrite of fetchAllTransactionsInvolvingName() to avoid having to load all name transactions into memory. 3 years ago
CalDescent 4e59eb8958 Added unit test to simulate the false association between previous a UPDATE_NAME transaction, and the emoji name with a blank reducedName. 3 years ago
CalDescent 756d5e685a Added naming tests for blank new names 3 years ago
CalDescent f52530b848 More thorough approach to fetchAllTransactionsInvolvingName(), to fix an issue found in unit testing. 3 years ago
CalDescent c2bf37b878 Added transactionV5Timestamp featureTrigger to unit tests 3 years ago
CalDescent 98a2dd04b8 Fixed bug caused by improper handling of UPDATE_NAME transactions, similar to commit d16663f. 3 years ago
CalDescent 694ea689c8 Synchronize the loop and break out of it before fetching arbitrary data files. Hopeful fix for ConcurrentModificationException, and maybe a potential deadlock. 3 years ago
CalDescent 618aaaf243 Removed logs used for debugging only 3 years ago
CalDescent 9224ffbf73 Cache transaction list for 2 minutes, and synchronize, to prevent the balance and transactions APIs both requesting at once. 3 years ago
CalDescent 892612c084 Calculate wallet balances from the transactions (ElectrumX) rather than using bitcoinj. 3 years ago
CalDescent 077165b807 Modified fetchArbitraryDataFileList() to support requesting only the missing hashes, but it is not yet used. 3 years ago
CalDescent 7994fc6407 Rework of onNetworkGetArbitraryDataFileListMessage() to support custom hashes to be optionally supplied. 3 years ago
CalDescent d98df3e47d Added support for file hashes to optionally be included in GetArbitraryDataFileListMessage. 3 years ago
CalDescent 1064b1a08b Removed duplicate metadata file checks. 3 years ago
CalDescent 0b7a7ed0f1 Added some more debug logging relating to file responses. 3 years ago
CalDescent 114b1aac76 Added arbitrary data file manager thread, which will ensure that all file list responses are tried until we receive the files. 3 years ago
CalDescent 6d06953a0e Increased RELAY_REQUEST_MAX_HOPS from 3 to 4, in an attempt to reach more peers. 3 years ago
CalDescent 0430fc8a47 Give up immediately after a synchronization if we are shutting down the synchronizer 3 years ago
CalDescent 7338f5f985 Attempt to acquire a blockchain lock (for up to 5 seconds) before shutting down the repository. 3 years ago
CalDescent 640bcdd504 Shutdown/interrupt the synchronizer as early as possible 3 years ago
CalDescent c9d5d996e5 Increased accuracy of the block weights in the synchronizer logs, as the extra precision is now needed for debugging. 3 years ago
CalDescent 710befec0c Increased ARBITRARY_RELAY_TIMEOUT from 30 to 60 seconds, so that relay peers remember their mappings for longer. 3 years ago
CalDescent 8ccb158241 Reduce log spam when in DEBUG mode. 3 years ago
CalDescent 97199d9b91 Display the local and total chunk counts on the loading screen. 3 years ago
CalDescent 5a8b895475 Fixed bug in loading screen, which prevented the DOWNLOADING status from showing. 3 years ago
CalDescent 6c9600cda0 Added API key header to GET /arbitrary/resource/status/* endpoints 3 years ago
CalDescent 82fa6a4fd8 Include "localChunkCount" and "totalChunkCount" in the GET /arbitrary/resource/status/* API responses. 3 years ago
CalDescent 45f2d7ab70 Revert "We (currently) can't filter unconfirmed transactions by address, because only the public key is stored in the database until it is confirmed (at which point there is an entry in the TransactionParticipants table which contains the address). Given that this isn't a simple problem to solve, for now it makes sense to reject this combination if requested via the /transactions/search API." 3 years ago
CalDescent 33731b969a Direct peer connections now send a file list request to the peer, rather than individually requesting every chunk for a transaction. 3 years ago
CalDescent 40a8cdc71f Improved logging when fetching data files 3 years ago
CalDescent cbe83987d8 Fixed occasional ConcurrentModificationException in the block archive reader. 3 years ago
CalDescent 01e4bf3a77 Try to speed up the shutdown process of the cleanup manager. 3 years ago
CalDescent b198a8ea07 Fixed issue in ArbitraryDataFile.chunkExists() due to it not checking for the metadata file. 3 years ago
CalDescent e2e87766fa Moved log from INFO to DEBUG, as now the synchronizer is on its own thread it can occur more often than before. 3 years ago
CalDescent f005a0975d Shut down the synchronizer as soon as the controller is stopping, if we are able to. 3 years ago
CalDescent 5700369935 Prioritize syncing over transaction importing. 3 years ago
CalDescent 8a1fb6fe4e If a lock can't be obtained when synchronizing, automatically request the sync again. 3 years ago
CalDescent 5b788dad2f Relocated all synchronizer code from the controller to the synchronizer, and also moved synchonization onto its own thread. 3 years ago
CalDescent fa2bd40d5f Reduce log spam 3 years ago