protected void OnPersistCompleted(Block block) { lock (_validators) { _validators.Clear(); } PersistCompleted?.Invoke(this, block); }
/// <summary> /// 当区块被写入到硬盘后调用 /// </summary> /// <param name="block">区块</param> protected void OnPersistCompleted(Block block) { TR.Enter(); PersistCompleted?.Invoke(this, block); TR.Exit(); }
/// <summary> /// 当区块被写入到硬盘后调用 /// </summary> /// <param name="block">区块</param> protected void OnPersistCompleted(Block block) { PersistCompleted?.Invoke(this, block); }