SHOWING: First 60
"fnv",
"ident_case",
"proc-macro2",
"quote",
"strsim",
"syn 2.0.39",
]
[[package]]
name = "darling_macro"
version = "0.14.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a4aab4dbc9f7611d8b55048a3a16d2d010c2c8334e46304b40ac1cc14bf3b48e"
dependencies = [
"darling_core 0.14.4",
"quote",
"syn 1.0.109",
]
[[package]]
name = "darling_macro"
version = "0.20.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "836a9bbc7ad63342d6d6e7b815ccab164bc77a2d95d84bc3117a8c0d5c98e2d5"
dependencies = [
"darling_core 0.20.3",
"quote",
"syn 2.0.39",
]
[[package]]
name = "data-encoding"
version = "2.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5"
[[package]]
name = "der-parser"
version = "7.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fe398ac75057914d7d07307bf67dc7f3f574a26783b4fc7805a20ffa9f506e82"
dependencies = [
"asn1-rs",
#44,989,771textdependencies = [
"wasm-bindgen",
]
[[package]]
name = "jsonrpc"
version = "0.14.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8128f36b47411cd3f044be8c1f5cc0c9e24d1d1bfdc45f0a57897b32513053f2"
dependencies = [
"base64 0.13.1",
"serde",
"serde_json",
]
[[package]]
name = "jsonrpc-core"
version = "18.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "14f7f76aef2d054868398427f6c54943cf3d1caa9a7ec7d0c38d69df97a965eb"
dependencies = [
"futures",
"futures-executor",
"futures-util",
"log",
"serde",
"serde_derive",
"serde_json",
]
[[package]]
name = "jsonrpc-derive"
version = "18.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5b939a78fa820cdfcb7ee7484466746a7377760970f6f9c6fe19f9edcc8a38d2"
dependencies = [
"proc-macro-crate",
"proc-macro2",
"quote",
"syn 1.0.109",
]
[[package]]
name = "jsonrpc-http-server"
version = "18.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e1dea6e07251d9ce6a552abfb5d7ad6bc290a4596c8dcc3d795fae2bbdc1f3ff"
#44,989,091text
#: src/faq.md:73
msgid ""
"```\n"
"[2] [1] [3] → [4]\n"
"```"
msgstr ""
"```\n"
"[2] [1] [3] → [4]\n"
"```"
#: src/faq.md:75
msgid "The satoshis "
msgstr "Сатоши "
#: src/faq.md:75
msgid "e"
msgstr "e"
#: src/faq.md:75
msgid " and "
msgstr " и "
#: src/faq.md:75
msgid "f"
msgstr "f"
#: src/faq.md:75
msgid " now have nowhere to go in the outputs:"
msgstr " теперь некуда девать на выходах:"
#: src/faq.md:78
msgid ""
"```\n"
"[a b] [c] [d e f] → [a b c d]\n"
"```"
msgstr ""
"```\n"
"[a b] [c] [d e f] → [a b c d]\n"
"```"
#: src/faq.md:80
msgid ""
"So they go to the miner who mined the block as fees. [The BIP](https://github.com/ordinals/ord/blob/master/bip.mediawiki) has the details, but in short, fees "
"paid by transactions are treated as extra inputs to the coinbase transaction, and are ordered how their corresponding transactions are ordered in the block. "
"The coinbase transaction of the block might look like this:"
msgstr ""
"Поэтому они поступают майнеру, добывшему блок, в качестве вознаграждения. [В BIP](https://github.com/ordinals/ord/blob/master/bip.mediawiki) описаны "
#44,986,403text
#[test]
fn unknown_preview() {
let server = TestServer::new_with_regtest();
server.mine_blocks(1);
let txid = server.bitcoin_rpc_server.broadcast_tx(TransactionTemplate {
inputs: &[(1, 0, 0, inscription("text/foo", "hello").to_witness())],
..Default::default()
});
server.mine_blocks(1);
server.assert_response_csp(
format!("/preview/{}", InscriptionId { txid, index: 0 }),
StatusCode::OK,
"default-src 'self'",
fs::read_to_string("templates/preview-unknown.html").unwrap(),
);
}
#[test]
fn video_preview() {
let server = TestServer::new_with_regtest();
server.mine_blocks(1);
let txid = server.bitcoin_rpc_server.broadcast_tx(TransactionTemplate {
inputs: &[(1, 0, 0, inscription("video/webm", "hello").to_witness())],
..Default::default()
});
let inscription_id = InscriptionId { txid, index: 0 };
server.mine_blocks(1);
server.assert_response_regex(
format!("/preview/{inscription_id}"),
StatusCode::OK,#44,982,483textmint1,000.mice#43,933,248brc-20mint1,000.mice#43,933,241brc-20mint1,000.mice#43,933,234brc-20mint1,000.mice#43,933,232brc-20mint1,000.mice#43,933,226brc-20mint1,000.mice#43,933,224brc-20mint1,000.mice#43,933,216brc-20mint1,000.mice#43,933,211brc-20mint1,000.mice#43,933,205brc-20mint1,000.mice#43,933,199brc-20mint1,000.mice#43,933,188brc-20mint1,000.mice#43,933,182brc-20mint1,000.mice#43,933,176brc-20mint1,000.mice#43,933,163brc-20mint1,000.mice#43,933,153brc-20mint1,000.mice#43,933,144brc-20mint1,000.mice#43,933,142brc-20mint1,000.mice#43,933,140brc-20mint1,000.mice#43,933,134brc-20mint1,000.mice#43,933,130brc-20mint1,000.mice#43,933,127brc-20mint1,000.mice#43,933,117brc-20mint1,000.mice#43,933,113brc-20dmt-mint.nat#42,522,994tapdmt-mint.nat#42,518,268tapdmt-mint.nat#42,518,248tapdmt-mint.nat#42,518,229tapdmt-mint.nat#42,518,178tapdmt-mint.nat#42,518,168tapdmt-mint.nat#42,518,167tapdmt-mint.nat#42,500,091tapdmt-mint.nat#42,497,442tapdmt-mint.nat#42,488,702tapmint1,000.pi20#42,326,515brc-20mint1,000.pi20#42,326,506brc-20mint1,000.pi20#42,326,489brc-20mint1,000.pi20#42,326,471brc-20