Optimal strategies for dynamic weight selection in consensus protocols in the presence of an adversary | IEEE Conference Publication | IEEE Xplore