2480 Commits (9fdb7c977f7dd570937c15befd50e7e7efa2bda9)
 

Author SHA1 Message Date
CalDescent ef838627c4 Stop asking for hashes from a peer if one fails. 3 years ago
CalDescent b8aaf14cdc Introduced ArbitraryDataFileRequestThread to allow for multiple concurrent file requests. 3 years ago
CalDescent 2740543abf Added "async" and "attempts" parameters to GET /arbitrary/{service}/{name}* endpoints. 3 years ago
CalDescent 3c526db52e Fixed bug in build manager which would prevent future builds until the core was restarted. 3 years ago
CalDescent cfe0414d96 Small rework of invalidUnconfirmedTransactions to specify the expiry time instead of the time added. 3 years ago
CalDescent 08e06ba11a Fixed bugs preventing invalidUnconfirmedTransactions from working as intended. 3 years ago
CalDescent 8c03164ea5 Don't add expired transactions to invalidUnconfirmedTransactions, as there is no need to keep track of these. 3 years ago
CalDescent 0fe2f226bc Added invalidUnconfirmedTransactions map 3 years ago
CalDescent 55b5702158 Invalidate last low weight block signature whenever the previous block data changes. 3 years ago
CalDescent a4cbbb3868 Moved block minter sleep to later in the process, otherwise it can remain there for longer than expected. 3 years ago
CalDescent 816b01c1fc Fixed issue in rebase 3 years ago
CalDescent 483e7549f8 Revert "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 60d71863dc Allow 3 seconds for the synchronizer to obtain a blockchain lock, to reduce missed attempts. 3 years ago
CalDescent 170244e679 More work on higher weight chain detection in the block minter. 3 years ago
CalDescent 472e1da792 Added debug level logging in higherWeightChainExists() for better visibility. 3 years ago
CalDescent cbf03d58c8 Made synchronizer method public as it is now also used by the block minter. 3 years ago
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