We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3e41d2c + f4f19f5 commit 92ddde6Copy full SHA for 92ddde6
src/core/mod.rs
@@ -19,7 +19,7 @@ pub use block::{BlockHashExt, BlockSpentOutputsExt, CoinExt, TransactionSpentOut
19
pub use script::ScriptPubkeyExt;
20
pub use transaction::{TransactionExt, TxInExt, TxOutExt, TxOutPointExt, TxidExt};
21
22
-pub use verify::{verify, ScriptVerifyError, ScriptVerifyStatus};
+pub use verify::{verify, ScriptVerifyError};
23
24
pub mod verify_flags {
25
pub use super::verify::{
src/core/verify.rs
@@ -139,7 +139,7 @@ pub fn verify(
139
/// configuration errors that prevented verification from proceeding.
140
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
141
#[repr(u8)]
142
-pub enum ScriptVerifyStatus {
+enum ScriptVerifyStatus {
143
/// Script verification completed successfully
144
Ok = BTCK_SCRIPT_VERIFY_STATUS_OK,
145
/// Invalid combination of verification flags was provided
src/lib.rs
@@ -112,9 +112,9 @@ impl std::error::Error for KernelError {
112
113
pub use crate::core::{
114
verify, Block, BlockHash, BlockSpentOutputs, BlockSpentOutputsRef, BlockTreeEntry, Coin,
115
- CoinRef, ScriptPubkey, ScriptPubkeyRef, ScriptVerifyError, ScriptVerifyStatus, Transaction,
116
- TransactionRef, TransactionSpentOutputs, TransactionSpentOutputsRef, TxIn, TxInRef, TxOut,
117
- TxOutPoint, TxOutPointRef, TxOutRef, Txid, TxidRef,
+ CoinRef, ScriptPubkey, ScriptPubkeyRef, ScriptVerifyError, Transaction, TransactionRef,
+ TransactionSpentOutputs, TransactionSpentOutputsRef, TxIn, TxInRef, TxOut, TxOutPoint,
+ TxOutPointRef, TxOutRef, Txid, TxidRef,
118
};
119
120
pub use crate::log::{disable_logging, Log, LogCategory, LogLevel, Logger};
0 commit comments