Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-22.04, ubuntu-latest, macos-13, macos-latest, windows-2019, windows-latest ]
os: [ ubuntu-22.04, ubuntu-latest, macos-13, macos-latest, windows-2022, windows-latest ]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand Down
20 changes: 10 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ default-members = [
]

[workspace.package]
version = "0.12.0-rc.2"
version = "0.12.0"
authors = ["Dr Maxim Orlovsky <[email protected]>"]
homepage = "https://github.com/BP-WG"
repository = "https://github.com/BP-WG/bp-core"
Expand All @@ -25,11 +25,11 @@ license = "Apache-2.0"
amplify = "4.9.0"
strict_encoding = "2.9.1"
strict_types = "2.9.0"
commit_verify = "0.12.0-rc.1"
single_use_seals = "0.12.0-rc.1"
bp-consensus = { version = "0.12.0-rc.2", path = "./consensus" }
bp-dbc = { version = "0.12.0-rc.2", path = "./dbc" }
bp-seals = { version = "0.12.0-rc.2", path = "./seals" }
commit_verify = "0.12.0"
single_use_seals = "0.12.0"
bp-consensus = { version = "0.12.0", path = "./consensus" }
bp-dbc = { version = "0.12.0", path = "./dbc" }
bp-seals = { version = "0.12.0", path = "./seals" }
secp256k1 = { version = "0.30.0", features = ["global-context"] } # NB: v0.31 breaks WASM
serde = { version = "1", features = ["derive"] }

Expand Down
10 changes: 4 additions & 6 deletions consensus/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// Version 1.0:
// TODO: Complete block data type implementation
// TODO: Complete OpCode enumeration

// TODO: Do a no-std feature
// #![cfg_attr(not(feature = "std"), no_std)]
#![deny(
Expand Down Expand Up @@ -69,6 +65,7 @@ mod weights;
pub mod stl;
mod coding;
mod sigcache;
mod tapcode;

pub use block::{Block, BlockHash, BlockHeader, BlockMerkleRoot};
pub use coding::{
Expand All @@ -82,11 +79,12 @@ pub use script::{RedeemScript, ScriptBytes, ScriptPubkey, SigScript};
pub use segwit::{SegwitError, Witness, WitnessProgram, WitnessScript, WitnessVer, Wtxid};
pub use sigcache::{PrevoutMismatch, SighashCache, SighashError};
pub use sigtypes::{Bip340Sig, LegacySig, ScriptCode, SigError, Sighash, SighashFlag, SighashType};
pub use tapcode::TapCode;
pub use taproot::{
Annex, AnnexError, ControlBlock, FutureLeafVer, InternalKeypair, InternalPk, IntoTapHash,
InvalidLeafVer, InvalidParityValue, LeafScript, LeafVer, OutputPk, Parity, TapBranchHash,
TapCode, TapLeafHash, TapMerklePath, TapNodeHash, TapScript, TapSighash, XOnlyPk,
MIDSTATE_TAPSIGHASH, TAPROOT_ANNEX_PREFIX, TAPROOT_LEAF_MASK, TAPROOT_LEAF_TAPSCRIPT,
TapLeafHash, TapMerklePath, TapNodeHash, TapScript, TapSighash, XOnlyPk, MIDSTATE_TAPSIGHASH,
TAPROOT_ANNEX_PREFIX, TAPROOT_LEAF_MASK, TAPROOT_LEAF_TAPSCRIPT,
};
pub use timelocks::{
InvalidTimelock, LockHeight, LockTime, LockTimestamp, SeqNo, TimeLockInterval,
Expand Down
2 changes: 1 addition & 1 deletion consensus/src/stl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ use crate::{
pub const LIB_ID_BP_TX: &str =
"stl:9WwTYiP2-OadKCZP-cR0bJ_Y-qruINYX-bXZFj8Y-fsQoGgo#signal-color-cipher";
pub const LIB_ID_BP_CONSENSUS: &str =
"stl:GplUWnLs-95lWifH-drmTGg8-SX5KKf3-hObNNIz-i7~t7PI#postal-sunday-basket";
"stl:CaK1Puml-gQpFSBK-E06s9O3-W27jJMu-fcpa21K-6AQ2FZc#extend-crimson-cable";

#[allow(clippy::result_large_err)]
#[deprecated(since = "0.10.8", note = "use _bp_tx_stl instead")]
Expand Down
Loading