SHOWING: First 60
version: 0,
}),
Ok(Some(Runestone {
edicts: vec![Edict {
id: 1,
amount: 2,
output: 3,
}],
etching: Some(Etching {
rune: Rune(4),
divisibility: 5,
..Default::default()
}),
..Default::default()
}))
);
}
#[test]
fn runestone_may_be_in_second_output() {
let payload = payload(&[0, 1, 2, 3]);
let payload: &PushBytes = payload.as_slice().try_into().unwrap();
assert_eq!(
Runestone::decipher(&Transaction {
input: Vec::new(),
output: vec![
TxOut {
script_pubkey: ScriptBuf::new(),
value: 0,
},
TxOut {
script_pubkey: script::Builder::new()
.push_opcode(opcodes::all::OP_RETURN)
.push_slice(b"RUNE_TEST")
.push_slice(payload)
.into_script(),
value: 0
}
],
lock_time: locktime::absolute::LockTime::ZERO,
#45,003,330text assert_eq!(
Runestone::decipher(&Transaction {
input: Vec::new(),
output: vec![TxOut {
script_pubkey: script::Builder::new()
.push_opcode(opcodes::all::OP_RETURN)
.push_slice(b"RUNE_TEST")
.push_slice::<&PushBytes>(varint::encode(2).as_slice().try_into().unwrap())
.push_slice::<&PushBytes>(varint::encode(4).as_slice().try_into().unwrap())
.push_slice::<&PushBytes>(varint::encode(1).as_slice().try_into().unwrap())
.push_slice::<&PushBytes>(varint::encode(5).as_slice().try_into().unwrap())
.push_slice::<&PushBytes>(varint::encode(0).as_slice().try_into().unwrap())
.push_slice::<&PushBytes>(varint::encode(1).as_slice().try_into().unwrap())
.push_slice::<&PushBytes>(varint::encode(2).as_slice().try_into().unwrap())
.push_slice::<&PushBytes>(varint::encode(3).as_slice().try_into().unwrap())
.into_script(),
value: 0
}],
lock_time: locktime::absolute::LockTime::ZERO,
#44,996,361textOrdinal Theory Guides
=====================
See the table of contents for a list of guides, including a guide to the
explorer, a guide for sat hunters, and a guide to inscriptions.
#44,996,024textsubcommand.
`ord` must be restarted in to load changes to the config file.
`ordinals.com`
--------------
The `ordinals.com` instances use `systemd` to run the `ord server` service,
which is called `ord`, with a config file located at `/var/lib/ord/ord.yaml`.
To hide an inscription on `ordinals.com`:
1. SSH into the server
2. Add the inscription ID to `/var/lib/ord/ord.yaml`
3. Restart the service with `systemctl restart ord`
4. Monitor the restart with `journalctl -u ord`
Currently, `ord` is slow to restart, so the site will not come back online
immediately.
#44,995,950text 1050000000000000,
1150000000000000,
100000000000000,
5 * COIN_VALUE + 90,
Rarity::Epic,
"gkjbdrhkfqf".to_string()
)
]
)
}
}
#44,995,939textuse super::*;
pub(crate) fn run(options: Options) -> SubcommandResult {
let index = Index::open(&options)?;
index.update()?;
Ok(Box::new(Empty {}))
}
#44,989,049text
[[package]]
name = "libredox"
version = "0.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "85c833ca1e66078851dba29046874e38f08b2c883700aa29a03ddd3b23814ee8"
dependencies = [
"bitflags 2.4.1",
"libc",
"redox_syscall 0.4.1",
]
[[package]]
name = "linux-raw-sys"
version = "0.3.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519"
[[package]]
name = "linux-raw-sys"
version = "0.4.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "969488b55f8ac402214f3f5fd243ebb7206cf82de60d3172994707a4bcc2b829"
[[package]]
name = "lock_api"
version = "0.4.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45"
dependencies = [
"autocfg",
"scopeguard",
]
[[package]]
name = "log"
version = "0.4.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f"
#44,984,237text <li role="none"><button role="menuitem" class="theme">
<a id="zh">中文版</a>
</button></li>
<li role="none"><button role="menuitem" class="theme">
<a id="ja">日本語版</a>
</button></li>
<li role="none"><button role="menuitem" class="theme">
<a id="ko">한국어</a>
</button></li>
<li role="none"><button role="menuitem" class="theme">
<a id="fil">Filipino</a>
</button></li>
<li role="none"><button role="menuitem" class="theme">
<a id="ar">العربية</a>
</button></li>
<li role="none"><button role="menuitem" class="theme">
<a id="hi">हिंदी</a>
</button></li>
#44,983,584text"```json\n"
"{\n"
" \"descriptor\": "
"\"wpkh([bf1dd55e/84'/0'/0']xpub6CcJtWcvFQaMo39ANFi1MyXkEXM8T8ZhnxMtSjQAdPmVSTHYnc8Hwoc11VpuP8cb8JUTboZB5A7YYGDonYySij4XTawL6iNZvmZwdnSEEep/1/"
"*)#fyfc5f6a\",\n"
" \"checksum\": \"64k8wnd7\",\n"
" \"isrange\": true,\n"
" \"issolvable\": true,\n"
" \"hasprivatekeys\": false\n"
"}\n"
"```"
msgstr ""
#: src/guides/sat-hunting.md:197
msgid "Load the wallet you want to import the descriptors into:"
msgstr ""
#: src/guides/sat-hunting.md:203
msgid ""
"Now import the descriptors, with the correct checksums, into Bitcoin Core."
msgstr ""
#: src/guides/sat-hunting.md:205
msgid ""
"```sh\n"
"bitcoin-cli \\\n"
" importdescriptors \\\n"
" '[\n"
" {\n"
" \"desc\": "
"\"wpkh([bf1dd55e/84h/0h/0h]xpub6CcJtWcvFQaMo39ANFi1MyXkEXM8T8ZhnxMtSjQAdPmVSTHYnc8Hwoc11VpuP8cb8JUTboZB5A7YYGDonYySij4XTawL6iNZvmZwdnSEEep/0/"
"*)#tpnxnxax\"\n"
" \"timestamp\":0\n"
" },\n"
" {\n"
" \"desc\": "
"\"wpkh([bf1dd55e/84h/0h/0h]xpub6CcJtWcvFQaMo39ANFi1MyXkEXM8T8ZhnxMtSjQAdPmVSTHYnc8Hwoc11VpuP8cb8JUTboZB5A7YYGDonYySij4XTawL6iNZvmZwdnSEEep/1/"
#44,982,337text