Page MenuHomePhabricator
Feed Advanced Search

Dec 19 2024

PiRK accepted D17367: [Cashtab] Show a spinner while parsed txs are loading.
Dec 19 2024, 10:31
PiRK planned changes to D17370: [chronik] add blockchain.transaction.broadcast electrum method.

investigating build failure

Dec 19 2024, 07:53

Dec 18 2024

PiRK added a comment to D17370: [chronik] add blockchain.transaction.broadcast electrum method.

I updated the diff a bit too fast, so some of these recent errors are from previous versions of the diff.

Dec 18 2024, 21:35
PiRK updated the diff for D17370: [chronik] add blockchain.transaction.broadcast electrum method.

improve for loop as per clippy's advice

Dec 18 2024, 21:19
PiRK updated the diff for D17370: [chronik] add blockchain.transaction.broadcast electrum method.

remove unneeded rehash and wrong comment

Dec 18 2024, 21:13
PiRK retitled D17370: [chronik] add blockchain.transaction.broadcast electrum method from [chronik] add blockchain.transaction.boradcast electrum method to [chronik] add blockchain.transaction.broadcast electrum method.
Dec 18 2024, 21:11
PiRK published D17370: [chronik] add blockchain.transaction.broadcast electrum method for review.
Dec 18 2024, 21:10
PiRK requested review of D17371: [electrum] update server response message for excessive fee.
Dec 18 2024, 21:09
PiRK closed D17366: [chronik] use custom jsonrpc error codes for application specific errors.
Dec 18 2024, 08:06
PiRK committed rABC387990ca0d72: [chronik] use custom jsonrpc error codes for application specific errors (authored by PiRK).
[chronik] use custom jsonrpc error codes for application specific errors
Dec 18 2024, 08:06

Dec 17 2024

PiRK closed D17364: [chronik] check max number of parameters for Electrum commands.
Dec 17 2024, 20:31
PiRK committed rABCe0dd041c75da: [chronik] check max number of parameters for Electrum commands (authored by PiRK).
[chronik] check max number of parameters for Electrum commands
Dec 17 2024, 20:31
PiRK added a comment to D17366: [chronik] use custom jsonrpc error codes for application specific errors.

Unrelated. Looks like a permission error when creating a directory

Dec 17 2024, 20:09
PiRK updated the diff for D17366: [chronik] use custom jsonrpc error codes for application specific errors.

custom error code and test for wrong type for boolean arg

Dec 17 2024, 20:05
PiRK planned changes to D17366: [chronik] use custom jsonrpc error codes for application specific errors.

i missed one

Dec 17 2024, 20:02
PiRK requested review of D17366: [chronik] use custom jsonrpc error codes for application specific errors.
Dec 17 2024, 19:57
PiRK updated the diff for D17364: [chronik] check max number of parameters for Electrum commands.

feedback

Dec 17 2024, 19:32
PiRK added inline comments to D17364: [chronik] check max number of parameters for Electrum commands.
Dec 17 2024, 17:11
PiRK retitled D17364: [chronik] check max number of parameters for Electrum commands from [chronik] check max number of parameters to [chronik] check max number of parameters for Electrum commands.
Dec 17 2024, 16:08
PiRK accepted D17365: [CI] Make sure the nobody user account isn't expired on Arch.
Dec 17 2024, 16:03
PiRK added a comment to D17365: [CI] Make sure the nobody user account isn't expired on Arch.

TIL chage

Dec 17 2024, 16:03
PiRK closed D17356: [chronik] add electrum method blockchain.transaction.get_height.
Dec 17 2024, 14:28
PiRK committed rABCbdfd881df17c: [chronik] add electrum method blockchain.transaction.get_height (authored by PiRK).
[chronik] add electrum method blockchain.transaction.get_height
Dec 17 2024, 14:28
PiRK added a comment to D17364: [chronik] check max number of parameters for Electrum commands.

Note that I also tried a form for the macro that check both min and max check_number_of_params!(params, 1, 2); but then I ran into a compiler warning when I added check_number_of_params!(params, 0, 0); in the server.ping handler

Dec 17 2024, 14:25
PiRK updated the diff for D17364: [chronik] check max number of parameters for Electrum commands.

line length nit

Dec 17 2024, 14:19
PiRK requested review of D17364: [chronik] check max number of parameters for Electrum commands.
Dec 17 2024, 14:16
PiRK updated the diff for D17356: [chronik] add electrum method blockchain.transaction.get_height.

address clippy's complaint

Dec 17 2024, 12:41
PiRK updated the summary of D17356: [chronik] add electrum method blockchain.transaction.get_height.
Dec 17 2024, 11:27
PiRK added inline comments to D17356: [chronik] add electrum method blockchain.transaction.get_height.
Dec 17 2024, 11:25
PiRK updated the diff for D17356: [chronik] add electrum method blockchain.transaction.get_height.

feedback

Dec 17 2024, 11:22
PiRK updated the diff for D17356: [chronik] add electrum method blockchain.transaction.get_height.

so it looks like we don't need to use serde_json::Value; in the module that implement try_from(value: &'_ serde_json::Value), but we still need to have the crate as a depencency (Cargo.[toml/lock])

Dec 17 2024, 07:56

Dec 16 2024

PiRK planned changes to D17356: [chronik] add electrum method blockchain.transaction.get_height.

Not sure why the build claims serde_json:: Value is unused in txid.rs, will investigate

Dec 16 2024, 18:24
PiRK updated the diff for D17356: [chronik] add electrum method blockchain.transaction.get_height.

use is_none() isntead of match

Dec 16 2024, 16:12
PiRK updated the diff for D17356: [chronik] add electrum method blockchain.transaction.get_height.

take a reference for TryFrom, use it also in transaction_get (minor behavior change in the error message, because now we have one less line that can raise a variant on the same error message)

Dec 16 2024, 16:07
PiRK closed D17347: [chronik] add macros to extract params from a JSONRPC request.
Dec 16 2024, 15:33
PiRK committed rABC719ef6251e2e: [chronik] add macros to extract params from a JSONRPC request (authored by PiRK).
[chronik] add macros to extract params from a JSONRPC request
Dec 16 2024, 15:33
PiRK closed D17323: [chronik] add electrum method blockchain.transaction.get.
Dec 16 2024, 15:32
PiRK closed D17314: [chronik] add a test for the new JSON RPC interface.
Dec 16 2024, 15:32
PiRK committed rABC5ccdd58eaef1: [chronik] add electrum method blockchain.transaction.get (authored by PiRK).
[chronik] add electrum method blockchain.transaction.get
Dec 16 2024, 15:32
PiRK committed rABCcedd98bd44e8: [chronik] add a test for the new JSON RPC interface (authored by PiRK).
[chronik] add a test for the new JSON RPC interface
Dec 16 2024, 15:32
PiRK accepted D17363: Bump version to 0.30.7.
Dec 16 2024, 15:32
PiRK updated the diff for D17356: [chronik] add electrum method blockchain.transaction.get_height.

rebase after reducing the port range in D17314

Dec 16 2024, 14:06
PiRK updated the diff for D17347: [chronik] add macros to extract params from a JSONRPC request.

rebase after reducing the port range in D17314

Dec 16 2024, 14:05
PiRK updated the diff for D17323: [chronik] add electrum method blockchain.transaction.get.

rebase after reducing the port range in D17314

Dec 16 2024, 14:05
teamcity awarded D17314: [chronik] add a test for the new JSON RPC interface a Haypence token.
Dec 16 2024, 14:04
PiRK added a comment to D17314: [chronik] add a test for the new JSON RPC interface.

@bot build-linux64 build-linux-aarch64 build-chronik build-chronik-plugins

Dec 16 2024, 14:04
PiRK updated the diff for D17314: [chronik] add a test for the new JSON RPC interface.

reduce port range to 3000 to keep the same effective range of ports

Dec 16 2024, 14:03
PiRK closed D17354: [electrum] use blockchain.transaction.get_height method.
Dec 16 2024, 13:53
PiRK committed rABC26ca7aa70c44: [electrum] use blockchain.transaction.get_height method (authored by PiRK).
[electrum] use blockchain.transaction.get_height method
Dec 16 2024, 13:53
PiRK planned changes to D17356: [chronik] add electrum method blockchain.transaction.get_height.

Collision on port 33380, Lets try to reduce the port range first to not conflict with docker ports (see D16048)

Dec 16 2024, 13:47
PiRK updated the test plan for D17354: [electrum] use blockchain.transaction.get_height method.
Dec 16 2024, 13:38
PiRK updated the summary of D17356: [chronik] add electrum method blockchain.transaction.get_height.
Dec 16 2024, 13:37
PiRK updated the diff for D17356: [chronik] add electrum method blockchain.transaction.get_height.

do this without the macro from D17355 (need to study macros more to make it work), fix clippy::needless-question-mark

Dec 16 2024, 13:28
PiRK updated the diff for D17347: [chronik] add macros to extract params from a JSONRPC request.

rebase

Dec 16 2024, 12:50
PiRK updated the diff for D17323: [chronik] add electrum method blockchain.transaction.get.

use consistent error message "Unknown transaction id"

Dec 16 2024, 12:49
PiRK planned changes to D17347: [chronik] add macros to extract params from a JSONRPC request.
Dec 16 2024, 12:47
PiRK updated the diff for D17347: [chronik] add macros to extract params from a JSONRPC request.

test all errors responses

Dec 16 2024, 12:42
PiRK accepted D17359: [chronik-docs] Update the latest client version.
Dec 16 2024, 11:25
PiRK accepted D17360: [chronik-docs] Fix download links.
Dec 16 2024, 11:25
PiRK accepted D17358: [ecash-herald] patch docker.
Dec 16 2024, 06:09

Dec 14 2024

PiRK planned changes to D17356: [chronik] add electrum method blockchain.transaction.get_height.

Let's wait to see if tests pass on CI or we get port collisions. The direct parent diff is a draft, this one was supposed to be one too.

Dec 14 2024, 21:42
PiRK requested review of D17356: [chronik] add electrum method blockchain.transaction.get_height.
Dec 14 2024, 21:40
PiRK updated the diff for D17347: [chronik] add macros to extract params from a JSONRPC request.

rebase

Dec 14 2024, 21:37
PiRK requested review of D17354: [electrum] use blockchain.transaction.get_height method.
Dec 14 2024, 15:03
teamcity awarded D17347: [chronik] add macros to extract params from a JSONRPC request a Haypence token.
Dec 14 2024, 12:17
PiRK added a comment to D17347: [chronik] add macros to extract params from a JSONRPC request.

@bot build-chronik build-chronik-plugins

Dec 14 2024, 12:17
PiRK added a comment to D17347: [chronik] add macros to extract params from a JSONRPC request.

These issues are likely port collisions

2024-12-13T20:49:51.570827Z [chronik/chronik-lib/src/bridge.rs:181] [<chronik unknown>] Starting Chronik Electrum interface bound to [(127.0.0.1:33252, Tcp)]
2024-12-13T20:49:51.574474Z [chronik/chronik-indexer/src/indexer.rs:1491] [<chronik unknown>] Chronik Electrum failed serving: Address already in use (os error 98)
2024-12-13T20:49:51.574503Z [/work/src/shutdown.cpp:22] [AbortNode] *** ERROR Chronik in ChronikElectrumServer::serve
2024-12-13T20:49:51.574521Z [/work/src/noui.cpp:42] [noui_ThreadSafeMessageBox] Error: Chronik Electrum failed serving: Address already in use (os error 98)
Dec 14 2024, 11:01

Dec 13 2024

PiRK planned changes to D17347: [chronik] add macros to extract params from a JSONRPC request.

There seems to be some kind if intermittent issue introduced by this diff or it's parent. To be investigated.

Dec 13 2024, 22:01
PiRK accepted D17348: [seeder] Return an error when thread creation fails.
Dec 13 2024, 21:04
PiRK accepted D17350: [seeder] Reword outdated note in readme.
Dec 13 2024, 21:00
PiRK updated the diff for D17347: [chronik] add macros to extract params from a JSONRPC request.

remove the small intermediate macros that only have one callsite. They just make the logic harder to follow.

Dec 13 2024, 20:28
PiRK updated the summary of D17347: [chronik] add macros to extract params from a JSONRPC request.
Dec 13 2024, 19:01
PiRK planned changes to D17347: [chronik] add macros to extract params from a JSONRPC request.

c'est cassé

Dec 13 2024, 19:00
PiRK retitled D17347: [chronik] add macros to extract params from a JSONRPC request from [chronik] add templates to extract params from a JSONRPC request to [chronik] add macros to extract params from a JSONRPC request.
Dec 13 2024, 14:40
PiRK added inline comments to D17347: [chronik] add macros to extract params from a JSONRPC request.
Dec 13 2024, 14:34
PiRK requested review of D17347: [chronik] add macros to extract params from a JSONRPC request.
Dec 13 2024, 14:32
PiRK published D17323: [chronik] add electrum method blockchain.transaction.get for review.
Dec 13 2024, 13:35
PiRK added a task to D16571: [chronik] Add a struct to compute a block merkle tree: Unknown Object (Maniphest Task).
Dec 13 2024, 13:34
PiRK added a task to D16756: [test framework] add a python implementation for merkle trees: Unknown Object (Maniphest Task).
Dec 13 2024, 13:34
PiRK added a task to D16800: [chronik] better use the merkle tree cache: Unknown Object (Maniphest Task).
Dec 13 2024, 13:34
PiRK added a task to D16569: [chronik] add an optional checkpoint_height query parameters to the block-header endpoint: Unknown Object (Maniphest Task).
Dec 13 2024, 13:34
PiRK added a task to D16806: [chronik] pass only required block hashes to merkle tree cache: Unknown Object (Maniphest Task).
Dec 13 2024, 13:34
PiRK added a task to D17037: [chronik] index scripts by scripthashes in the mempool: Unknown Object (Maniphest Task).
Dec 13 2024, 13:34
PiRK added a task to D16937: [chronik] add scripthash option to the various script endpoints: Unknown Object (Maniphest Task).
Dec 13 2024, 13:34
PiRK added a task to D17043: [chronik] implement scripthash type for utxos endpoints: Unknown Object (Maniphest Task).
Dec 13 2024, 13:34
PiRK added a task to D17325: [chronik] Bump karyon dependency to 0.1.8: Unknown Object (Maniphest Task).
Dec 13 2024, 13:34
PiRK added a task to D17185: [chronik] Create a new optional JSON RPC interface: Unknown Object (Maniphest Task).
Dec 13 2024, 13:34
PiRK added a task to D17333: [chronik] Add support for TLS to the electrum server: Unknown Object (Maniphest Task).
Dec 13 2024, 13:34
PiRK updated the summary of D17314: [chronik] add a test for the new JSON RPC interface.
Dec 13 2024, 13:30
PiRK updated the diff for D17314: [chronik] add a test for the new JSON RPC interface.

rebase

Dec 13 2024, 10:18
PiRK accepted D17342: Wait for the disconnected peers to be accounted in the getavalancheinfo test.
Dec 13 2024, 07:58

Dec 12 2024

PiRK accepted D17339: [mock-chronik-client] remember to bump the version.
Dec 12 2024, 13:46
PiRK added inline comments to D17314: [chronik] add a test for the new JSON RPC interface.
Dec 12 2024, 12:29
PiRK updated the diff for D17314: [chronik] add a test for the new JSON RPC interface.

raise an error if response data is too large, improve doc for ChronikElectrumClient with code samples, remove unneed id param for MethodNameProxy

Dec 12 2024, 12:26

Dec 11 2024

PiRK added inline comments to D17314: [chronik] add a test for the new JSON RPC interface.
Dec 11 2024, 11:56
PiRK updated the diff for D17314: [chronik] add a test for the new JSON RPC interface.

rework the API, use a client object similar to ChronikClient, set a timeout for the socket so that we get an error if the server never replies (or never sends the final \n)

Dec 11 2024, 09:18

Dec 10 2024

PiRK accepted D17333: [chronik] Add support for TLS to the electrum server.
Dec 10 2024, 19:48
PiRK added inline comments to D17333: [chronik] Add support for TLS to the electrum server.
Dec 10 2024, 17:08
PiRK added a comment to D17330: Run more functional tests in parallel by default.

Benchmark on my machine:

Dec 10 2024, 08:45
PiRK added inline comments to D17331: Add symlink to most recent functional test failure directory.
Dec 10 2024, 08:31