Bitcointalk

JSON-RPC method idea: list transactions newer than a given txid

中本聪 · 2010 年 12 月 9 日

SN-3764 已核对来源,附原文与上下文。

阅读语言
其他参与者原话jgarzik原帖 ↗

关于「 之后的交易」,我同意你和中本聪的看法。我的 listtransactions(现在叫 xlisttransactions)补丁刻意不提供那个功能,从来都没有。

I agree with you and satoshi about "txs after ". My listtransactions (now xlisttransactions) patch pointedly does not have that feature, and never has.

中本聪回应

只要这个接口的定位是向用户展示最近 N 笔交易历史之类的用途,就没问题——何况现在有了账户功能,用正确的方式做支付检测更容易了。

As long as the interface is designed for things like showing the user the last N transactions history, it's fine, now that we have the Accounts feature making it easier to do payment detection the right way.

Gavin,listtransactions 能不能加个选项,列出所有账户的交易?

Gavin, could listtransactions have an option to list transactions for all accounts?

我不确定接口应该是什么样,也许:

I'm not sure what the interface could be, maybe:

listtransactions [count]

listtransactions [count]

不过从命令行做这个会很别扭。

It would be hard to do that from the command line though.

我想不出接口的好方案,问题就在这。也许像 "" 一样来个 "*" 特例。这样人人都得确保没有用户能创建名为 "*" 的账户。

I can't think of a good solution for the interface, that's the problem. Maybe "*" special case like "" is. Everyone would have to make sure no user can create account name "*".

其他参与者原话jgarzik原帖 ↗

当然,用交易来追踪这一点相当容易。

Sure, and that's easy enough to track with transactions.

中本聪回应

我不明白用交易追踪这事儿怎么就「相当容易」了。

I don't get how that's "easy" to track with transactions.

上下文
来源
Bitcointalk 原始链接 ↗ 记录编号 SN-3764

阅读字号

选择适合你的字号,之后阅读会继续使用。