Skip to content

Releases: stellarbeat/js-stellar-node-crawler

v5.0.0

17 Apr 09:52
Compare
Choose a tag to compare
  • update package.json 69387de
  • test naming fix 98bb48e
  • Improved network halted handling for case when we cannot connect to any top tier nodes, and a batch of connected peer nodes don't relay top tier externalize messages because they are stuck. If a next batch detects a ledger close, the network is not marked as halted ec5626e
  • simplified crawlFactory 671f890
  • refactored crawl-state to crawl. Moved properties to Observation when needed. 9760e4c
  • Added README c2f2157

v5.0.0-5...v5.0.0

v5.0.0-5

14 Mar 08:14
Compare
Choose a tag to compare
v5.0.0-5 Pre-release
Pre-release

v5.0.0-4

13 Mar 17:15
Compare
Choose a tag to compare
v5.0.0-4 Pre-release
Pre-release
  • added slow node logging on crawl finish d488f21
  • Added tests for NetworkObserver. Added ObservationFactory 39264fe
  • some small refactorings and added tests for Observation class d7cff13
  • Added more responsability to Observation class 6401c24
  • Introduced Observation class a2cc401
  • extracted all remaining constant timeouts and made them configurable. Created ConsensusTimer 1e4b00c
  • Extracted Timers from StragglerTimer. Added unit tests. Made StraggleTimeoutMS configurable cd1acfa
  • renamed PeerNetworkManager to NetworkObserver 74f019e
  • Extracted StateManager and ConnectionEventManager out of PeerNetworkManager + added tests d61b60c
  • extracted StragglerTimer ca861e6
  • Renamed PeerListener to PeerNetworkManager. Introduced a State(machine) into PeerNetworkManager. Extracted ConsensusTimerManager. 5d19f7c
  • Moved ConnectionManager out of crawler to PeerListener. Added unit tests for Crawler 59f7b1e
  • top tier sync is no longer a crawl task 81bff16
  • Refactored and simplified peer listen timeout logic. Timeouts are now fired when a ledger is confirmed validating, to give connected nodes a max straggle timeout in which they can validate that ledger. If the network is halted, nodes are listened to for 10 seconds to determine basic info fc9d79d
  • increased test timeout 921d9f1
  • Added CrawlProcesState.STOPPING + some tweaks a5dc840
  • improved directory structure 4794780
  • Introduced PeerListener class. The crawler now solely focusses on the handling the crawling (queue). Once a successfull connection is made, it is handed of to the PeerListener. 98aafa2
  • added closed ledger logging on crawl stop 5088306
  • only close ledgers in crawling_state. Do not confirm older closed ledgers as they could mess up lag timings. db5588e
  • Added some top tier logging. Added lag detection tweak for overloaded nodes a2f5197
  • Made sure connectedDuringLedgerClose property of peernode does not get reset to false + test 2ac487d
  • Some refactoring of processConfirmedLedgerClose in PeerNode + added unit tests 0c92a7a

v5.0.0-3...v5.0.0-4

v5.0.0-3

06 Mar 10:36
Compare
Choose a tag to compare
v5.0.0-3 Pre-release
Pre-release
  • Extracted CrawlConnectionEventHandlers + added unit tests. Refactored Lag detection. 8c8497c
  • extracted CrawlQueueManager and CrawlQueue + added tests 826101f
  • small naming change dd4a269
  • Added tests for SCPStatementHandler c8dec45
  • ScpEnvelopeHandler.test: added missing testcase + small refactoring f657b22
  • moved test to correct folder bf8f37a
  • Imports and crawler factory fix. 8544acf
  • Added StellarMessageHandler readme. Extracted ScpStatement Handler + added tests for ScpEnvelope Handler. Directory structure now mimics message structure. 702e3a0
  • moved tests to src folder in tests folders to avoid having to shadow the src folder structure. 1357707
  • dead code removal 4b34953
  • modifying directory structure + removed unused classes 081f4d3
  • added tests for Slots 62fde79
  • fixed tests 90c9b8a
  • Refactored Slot and adjusted naming to show more clearly it attempts to confirm a slot close. + unit tests. a04de7d
  • bugfix 3b49b31
  • simplifying ExternalizeStatementHandler dcc5975
  • Added CrawlProcessState to Crawler. Refactoring and unit testing ExternalizeStatementHandler. 0cd4d30
  • extracted ExternalizeStatementHandler + refactoring 5937eb3
  • Added first lag detection implementation. 1314e97

v5.0.0-2...v5.0.0-3

v5.0.0-2

23 Feb 12:57
Compare
Choose a tag to compare
v5.0.0-2 Pre-release
Pre-release
  • github testing: removed node v16 8f4d2a4
  • added coverage to gitignore 9dabbf8
  • Started work extracting LedgerCloseDetector + tests fba9468
  • Refactored Crawler class to improve readability and maintainability e6f16db
  • Crawler now handlers MessageWork, MessageHandler only handles messages. Refactored some functionality into PeerNodeCollection for better encapsulation 2ed5d99
  • Extracted ConnectionManager from Crawler to handle lower level Connection details 1b0b0e4
  • Extracted StellarMessageHandler + added unit tests 46508ab
  • Extracted disconnect timeout 55952e3
  • Expanded use of PeerNodeCollection a1b7767
  • refactored out PeerNodeCollection + tests 928875c
  • Extracted CrawlLogger and CrawlStateValidator 7d08430
  • Extracted CrawlerConfiguration f7b6a6e
  • Extracted crawl-result interface. Refactored CrawlStateLogger to CrawlState method. 400d7f4
  • extraced CrawlStateLogger f4d2dab

v5.0.0-1...v5.0.0-2

v5.0.0-1

12 Dec 11:16
Compare
Choose a tag to compare
v5.0.0-1 Pre-release
Pre-release
  • updated to latest node-connector version 1e51cfc

v5.0.0-0...v5.0.0-1

v5.0.0-0

06 Dec 09:30
Compare
Choose a tag to compare
v5.0.0-0 Pre-release
Pre-release
  • fixed tests 49abef3
  • Updated node-connector to support protocol 20 b10cf43

v4.2.0...v5.0.0-0

v4.2.0

20 Nov 09:02
Compare
Choose a tag to compare
  • fix test timing 95709de
  • improved queue logging and listenFurther function 2cc893f

v4.1.1...v4.2.0

v4.1.1

16 Nov 13:22
Compare
Choose a tag to compare
  • return error if max open connections is lower or equal to top tier size as these connections are always held open a162925

v4.1.0...v4.1.1

v4.1.0

16 Nov 13:14
Compare
Choose a tag to compare
  • Extraced listen-further method and optimized to listen for straggling top tier nodes. + tests. Reduced logging size by truncating public keys. 76909fb

v4.0.2...v4.1.0