Page MenuHomePhabricator

PiRK (Pierre K)
User

Projects

User does not belong to any projects.

User Details

User Since
Aug 5 2020, 16:14 (228 w, 5 d)

Recent Activity

Yesterday

PiRK accepted D17389: init: disallow reindex-chainstate when pruning.
Mon, Dec 23, 15:42
PiRK accepted D17388: test: check for invalid `-prune` parameters.
Mon, Dec 23, 15:39

Sat, Dec 21

PiRK added inline comments to D17370: [chronik] add blockchain.transaction.broadcast electrum method.
Sat, Dec 21, 08:03

Fri, Dec 20

PiRK updated the diff for D17370: [chronik] add blockchain.transaction.broadcast electrum method.

use a match no that the Err branch is a single liner

Fri, Dec 20, 08:29
PiRK updated the diff for D17370: [chronik] add blockchain.transaction.broadcast electrum method.

leak, complete error messages

Fri, Dec 20, 08:20

Thu, Dec 19

PiRK added inline comments to D17370: [chronik] add blockchain.transaction.broadcast electrum method.
Thu, Dec 19, 15:39
PiRK closed D17371: [electrum] update server response message for excessive fee.
Thu, Dec 19, 13:02
PiRK committed rABC235133d95690: [electrum] update server response message for excessive fee (authored by PiRK).
[electrum] update server response message for excessive fee
Thu, Dec 19, 13:02
PiRK updated the diff for D17370: [chronik] add blockchain.transaction.broadcast electrum method.

rebase to restart CI. I can't figure out why rpc_psbt.py failed, but it is clearly unrelated (nodes[2] never received an inv for the transaction)

Thu, Dec 19, 11:44
PiRK accepted D17372: [Cashtab] Bump rendered txs in history from 10 to 20.
Thu, Dec 19, 10:32
PiRK accepted D17367: [Cashtab] Show a spinner while parsed txs are loading.
Thu, Dec 19, 10:31
PiRK planned changes to D17370: [chronik] add blockchain.transaction.broadcast electrum method.

investigating build failure

Thu, Dec 19, 07:53

Wed, Dec 18

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.

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

improve for loop as per clippy's advice

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

remove unneeded rehash and wrong comment

Wed, Dec 18, 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.
Wed, Dec 18, 21:11
PiRK published D17370: [chronik] add blockchain.transaction.broadcast electrum method for review.
Wed, Dec 18, 21:10
PiRK requested review of D17371: [electrum] update server response message for excessive fee.
Wed, Dec 18, 21:09
PiRK closed D17366: [chronik] use custom jsonrpc error codes for application specific errors.
Wed, Dec 18, 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
Wed, Dec 18, 08:06

Tue, Dec 17

PiRK closed D17364: [chronik] check max number of parameters for Electrum commands.
Tue, Dec 17, 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
Tue, Dec 17, 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

Tue, Dec 17, 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

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

i missed one

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

feedback

Tue, Dec 17, 19:32
PiRK added inline comments to D17364: [chronik] check max number of parameters for Electrum commands.
Tue, Dec 17, 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.
Tue, Dec 17, 16:08
PiRK accepted D17365: [CI] Make sure the nobody user account isn't expired on Arch.
Tue, Dec 17, 16:03
PiRK added a comment to D17365: [CI] Make sure the nobody user account isn't expired on Arch.

TIL chage

Tue, Dec 17, 16:03
PiRK closed D17356: [chronik] add electrum method blockchain.transaction.get_height.
Tue, Dec 17, 14:28
PiRK committed rABCbdfd881df17c: [chronik] add electrum method blockchain.transaction.get_height (authored by PiRK).
[chronik] add electrum method blockchain.transaction.get_height
Tue, Dec 17, 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 clippy warning when I added check_number_of_params!(params, 0, 0); in the server.ping handler

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

line length nit

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

address clippy's complaint

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

feedback

Tue, Dec 17, 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])

Tue, Dec 17, 07:56

Mon, Dec 16

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

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

use is_none() isntead of match

Mon, Dec 16, 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)

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

rebase after reducing the port range in D17314

Mon, Dec 16, 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

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

rebase after reducing the port range in D17314

Mon, Dec 16, 14:05
teamcity awarded D17314: [chronik] add a test for the new JSON RPC interface a Haypence token.
Mon, Dec 16, 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

Mon, Dec 16, 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

Mon, Dec 16, 14:03
PiRK closed D17354: [electrum] use blockchain.transaction.get_height method.
Mon, Dec 16, 13:53
PiRK committed rABC26ca7aa70c44: [electrum] use blockchain.transaction.get_height method (authored by PiRK).
[electrum] use blockchain.transaction.get_height method
Mon, Dec 16, 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)

Mon, Dec 16, 13:47
PiRK updated the test plan for D17354: [electrum] use blockchain.transaction.get_height method.
Mon, Dec 16, 13:38
PiRK updated the summary of D17356: [chronik] add electrum method blockchain.transaction.get_height.
Mon, Dec 16, 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

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

rebase

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

use consistent error message "Unknown transaction id"

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

test all errors responses

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

Sat, Dec 14

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.

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

rebase

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

@bot build-chronik build-chronik-plugins

Sat, Dec 14, 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)
Sat, Dec 14, 11:01

Fri, Dec 13

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.

Fri, Dec 13, 22:01
PiRK accepted D17348: [seeder] Return an error when thread creation fails.
Fri, Dec 13, 21:04
PiRK accepted D17350: [seeder] Reword outdated note in readme.
Fri, Dec 13, 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.

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

c'est cassé

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

rebase

Fri, Dec 13, 10:18