SHOWING: First 60
.*
<h2>0 Inscriptions</h2>
<div class=thumbnails>
</div>
<h2>1 Transaction</h2>
<ul class=monospace>
<li><a href=/tx/[[:xdigit:]]{64}>[[:xdigit:]]{64}</a></li>
</ul>
"
.unindent()
);
}
#[test]
fn next_active_when_not_last() {
assert_regex_match!(
BlockHtml::new(
Chain::Mainnet.genesis_block(),
Height(0),
Height(1),
0,
Vec::new()
),
r"<h1>Block 0</h1>.*prev\s*<a class=next href=/block/1>next</a>.*"
);
}
#[test]
fn prev_active_when_not_first() {
assert_regex_match!(
BlockHtml::new(
Chain::Mainnet.genesis_block(),
Height(1),
Height(1),
0,
Vec::new()
),
r"<h1>Block 1</h1>.*<a class=prev href=/block/0>prev</a>\s*next.*",
);
}
#[test]
fn block_hash_serializes_as_hex_string() {
assert_eq!(
serde_json::to_string(&BlockHash::all_zeros()).unwrap(),
"\"0000000000000000000000000000000000000000000000000000000000000000\""
#44,986,843textmsgid "Running The Explorer"
msgstr "탐색기 실행"
#: /workspaces/ord_ko/docs/src/guides/explorer.md:9
msgid "The server can be run locally with:"
msgstr "서버는 이것으로 로컬에서 실행할 수 있다:"
#: /workspaces/ord_ko/docs/src/guides/explorer.md:11
msgid "`ord server`"
msgstr "`ord server`"
#: /workspaces/ord_ko/docs/src/guides/explorer.md:13
msgid "To specify a port add the `--http-port` flag:"
msgstr "포트를 지정하려면 `--http-port` 플래그를 추가한다:"
#: /workspaces/ord_ko/docs/src/guides/explorer.md:15
msgid "`ord server --http-port 8080`"
msgstr "`ord server —http-port 8080`"
#: /workspaces/ord_ko/docs/src/guides/explorer.md:17
msgid ""
"To enable the JSON-API endpoints add the `--enable-json-api` or `-j` flag "
"(see [here](#json-api) for more info):"
msgstr ""
"JSON-API 엔드포인트를 활성화하려면 `--enable-json-api` 또는 `-j` 플래그를 추"
"가한다:"
#: /workspaces/ord_ko/docs/src/guides/explorer.md:20
msgid "`ord --enable-json-api server`"
msgstr "`ord --enable-json-api server`"
#: /workspaces/ord_ko/docs/src/guides/explorer.md:22
msgid "To test how your inscriptions will look you can run:"
#44,986,760text