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
11 changes: 10 additions & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,18 @@ name: Deploy docs
on:
push:
branches: [develop]
pull_request:
paths:
- pkgs/**
- contrib/samples/**
- contrib/zen/**
- contrib/build_docs.py
- docs/zen/**
- .github/workflows/pages.yml
workflow_dispatch:

concurrency:
group: pages
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

permissions:
Expand Down Expand Up @@ -60,6 +68,7 @@ jobs:

deploy:
name: Deploy to GitHub Pages
if: github.event_name == 'push' && github.ref == 'refs/heads/develop'
needs: build
runs-on: ubuntu-24.04-arm

Expand Down
5 changes: 3 additions & 2 deletions contrib/samples/solver/solver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ extern crate alloc;
use bitcoin_consensus_encoding::encode_to_vec;
use bitcoin_units::Amount;
use dash_num::{Arith256, CompactTarget};
use dash_primitives::hash::double_sha256;
use dash_primitives::{BlockHash, BlockHeader, MerkleRoot, OutPoint, Script, Transaction, TxHash, TxIn, TxOut, TxType};
use dash_primitives::{
double_sha256, BlockHash, BlockHeader, MerkleRoot, OutPoint, Script, Transaction, TxHash, TxIn, TxOut, TxType,
};
use hex_conservative::FromHex;
use serde::{Deserialize, Serialize};
use wasm_bindgen::prelude::*;
Expand Down
Loading