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
1 change: 1 addition & 0 deletions .claude/scheduled_tasks.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"sessionId":"29ac9fe4-5db1-4063-a411-35b7476540e7","pid":64232,"procStart":"Sun Sep 27 02:25:21 2026","acquiredAt":1790934861671}
4 changes: 3 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ website or API.
`tx` replies can carry `warnings`. A `lookalike_sender` warning means a
transaction likely comes from an address made to look like one the receiver
really uses (address poisoning). Surface it to the user, and never suggest
copying an address from transaction history.
copying an address from transaction history. https://dogechain.com/guides/copycat
explains the trick; https://dogechain.com/guides/track-a-payment helps with
"where is my payment?".

## Limits

Expand Down
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ names, environment variables, exit codes, error codes, and the shape of

## [Unreleased]

## [0.7.1] - 2026-10-02

### Changed

- The address-poisoning warning in `tx` links to Dogechain.com's guide on the
copycat trick.

## [0.7.0] - 2026-10-02

### Added
Expand Down Expand Up @@ -152,7 +159,8 @@ names, environment variables, exit codes, error codes, and the shape of
- Installers: Homebrew (`blockio/tap/dogechain`), npm (`dogechain`), shell script, PowerShell,
and prebuilt binaries for macOS, Linux and Windows.

[Unreleased]: https://github.com/BlockIo/dogechain-cli/compare/v0.7.0...HEAD
[Unreleased]: https://github.com/BlockIo/dogechain-cli/compare/v0.7.1...HEAD
[0.7.1]: https://github.com/BlockIo/dogechain-cli/compare/v0.7.0...v0.7.1
[0.7.0]: https://github.com/BlockIo/dogechain-cli/compare/v0.6.1...v0.7.0
[0.6.1]: https://github.com/BlockIo/dogechain-cli/compare/v0.6.0...v0.6.1
[0.6.0]: https://github.com/BlockIo/dogechain-cli/compare/v0.5.2...v0.6.0
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dogechain-cli"
version = "0.7.0"
version = "0.7.1"
edition = "2024"
rust-version = "1.88"
description = "Command-line interface for Dogechain.com"
Expand Down
4 changes: 3 additions & 1 deletion src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ use crate::time::{ago, now, utc, utc_date, utc_minute};

const KOINU_PER_DOGE: f64 = 100_000_000.0;
const ADDRESS_PAGE_SIZE: u64 = 10;
const COPYCAT_GUIDE: &str = "https://dogechain.com/guides/copycat";
const RICHLIST_PAGE_SIZE: u64 = 100;

pub fn run(cli: Cli, out: &mut dyn Write) -> Result<()> {
Expand Down Expand Up @@ -352,7 +353,8 @@ fn show_warning(out: &mut dyn Write, w: &Warning) -> Result<()> {
writeln!(
out,
"WARNING: likely address poisoning. The sender {sender} imitates {imitates}, \
an address{victim}. Never copy an address from transaction history."
an address{victim}. Never copy an address from transaction history. \
How the trick works: {COPYCAT_GUIDE}"
)?;
}
(kind, _, _) => writeln!(out, "WARNING: {kind}")?,
Expand Down
1 change: 1 addition & 0 deletions tests/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ fn tx_shows_poisoning_warning_first() {
"{text}"
);
assert!(text.contains(&format!("The sender {LOOKALIKE} imitates {ADDR}")));
assert!(text.contains("How the trick works: https://dogechain.com/guides/copycat"));
assert!(text.contains("waiting in the mempool"));
assert!(text.contains(&format!(
"{ADDR} 40 DOGE (likely change back to the sender)"
Expand Down
Loading