Skip to content

回复:JSON-RPC 状态 ​

首次公开证据

打开首次公开证据
查看 1 个交叉存档
来源说明

Published on GitHub in February 2024 as part of Martti Malmi's testimony in the COPA v. Wright trial

我还没用其他东西测试过我的 JSON-RPC 服务器。如果你测试了,请告诉我结果。你使用 Python,对吧?

让 Linux 版本在没有安装 GTK 的情况下运行,会是另一项任务。

是的,使用 Python。我还没测试 JSON-RPC,因为 VPS 上还没运行比特币。即使安装了 GTK 库,没有窗口管理器也无法运行。我在 wxWidgets 论坛上问过(http://wxforum.shadonet.com/viewtopic.php?t=26954),但他们也不太清楚。也许我们只需要制作两个不同的二进制文件。

我可能会让步并这么做。我可以把 init 和 shutdown 移到 init.cpp 或 start.cpp 之类的文件中,只链接 wxbase,不链接 ui.o 和 uibase.o。

wxWidgets 的用户主要是 Windows 用户,他们不会太了解 GTK。

你没有 Ubuntu 笔记本可以测试和编译吗?这样就不用折腾 VPS 了?

英文原文 ​

展开英文原文

I haven't tested my JSON-RPC server with anything else yet. If you do, please tell me how it goes. You're using Python, right?

Getting the Linux version to run without the GTK installed will be a separate task.

Yes, using Python. I didn't test the JSON-RPC yet as I don't have Bitcoin running on the vps yet. It doesn't work without a window manager even if GTK libraries are installed. I asked about it at wxWidgets forum (http://wxforum.shadonet.com/viewtopic.php?t=26954) but they didn't have much clue. Maybe we'll just need to make two different binaries.

I will probably relent and do that. I can move init and shutdown into init.cpp or start.cpp or something, link only wxbase and not link ui.o and uibase.o.

wxWidgets is mostly Windows people, they wouldn't know much about GTK.

Don't you have an Ubuntu laptop you can test and compile on so you don't have to toy with the vps?

为历史保存,为中文读者整理。每篇档案均附来源与英文原文。