def sync_all(self, node_groups=None):
    if (not node_groups):
        node_groups = [self.nodes]
    for group in node_groups:
        sync_blocks(group)
        sync_mempools(group)
def sync_all(self, node_groups=None):
    if (not node_groups):
        node_groups = [self.nodes]
    for group in node_groups:
        sync_blocks(group)
        sync_mempools(group)