Skip to content

Conversation

@utkarshg6
Copy link
Owner

No description provided.

utkarshg6 added 30 commits July 6, 2022 08:12
…d_monitored_until_it_gets_confirmed_or_canceled()
&format!(
"should be called only on uninitialized object, not: ScanIntervals(Some({:?}))",
*DEFAULT_SCAN_INTERVALS
make_scan_intervals_with_defaults()
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't use this function, instead just dereference the DEFAULT_SCAN_INTERVALS.

when_pending_too_long_sec: DEFAULT_PENDING_TOO_LONG_SEC,
suppress_initial_scans: false,
}
pub fn make_bc_with_defaults() -> BootstrapperConfig {
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Try using builder method for building the bootstrap config.

recorder_message_handler!(AddRouteMessage);
recorder_message_handler!(AddStreamMsg);
recorder_message_handler!(BindMessage);
recorder_message_handler!(ConnectionProgressMessage);
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move this line after recorder_message_handler!(ScanForPayables);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants