Sjors Provoost

sjors@sprovoost.nl
↻ Sjors Provoost reposted
BitDevs in Amsterdam next week! There won't be one in August.
BitDevs Amsterdam · bitdevsamsterdam.org/2026-07-02-july-bitdevs-amsterdamBitDevs Amsterdam, July 2, 2026BitDevs Amsterdam meeting 030!
↻ Sjors Provoost reposted
Utrecht's new coalition raises property taxes by 15% ... and nobody cares :-) You might think, how is that possible? Sure, D66 lied about it during the election campaign, but people expect that. Pro didn't mention it specifically - but they're far left, so that's obvious. Why didn't they get voted out? Because the majority of houses are rentals (and presumably those houses also contain more voters, e.g. students tend to rent while kids who live in their parent's owned house can't vote). Also property tax is minuscule compared to income tax for most home owners (can't get a mortgage with low income).
utrecht.incijfers.nl/mosaic/monitor-wonen/woningvoorraadMonitor Wonen - Woningvoorraad - WestMonitor Wonen
40% of blocks now set their locktime and sequence in the manner proposed by BIP54. Since Bitcoin Core doesn't provide these fields via the getblocktemplate RPC*, simply upgrading a node doesn't work, and pools need to change their own software. This is not the same as signaling for activation. But if 100% of miners set these fields correctly, then subsequent signalling and activation will be a lot safer. During previous soft fork activations, miners would sometimes signal for readiness without actually being ready. That's dangerous when building on top of an invalid block, but usually safe when building a block with only standard transactions. But not in this case; past activation they would instantly produce an invalid header. * = Stratum v2 uses the new IPC interface which does set this field correctly
mainnet-observer · mainnet.observer/charts/transactions-coinbase-locktime-bip54BIP-54 Coinbase Locktime setShows the percentage of coinbase transactions that have their locktime set according to BIP-54.
↻ Sjors Provoost reposted
↻ Sjors Provoost reposted
↻ Sjors Provoost reposted
Construction Day is a good opportunity to check out some cool projects. Future inhabitants get free graffiti in their parking garage, because the tram and bus tunnel was built years earlier and construction site was abandoned for years. But the real cool part are the springs. These are not for earthquakes, and not even for the tram tunnel. Rather it's because these apartments are built right next to country's biggest railway station. Especially freight trains a night cause a lot of vibration. These will remain visible, both because they're cool and because it's easier for maintenance. The tension was gradually released using these screws as new floors were added on top. If you can afford it, you get a nice view.
Be sure to make Claude thank me, next time it runs Bitcoin Core on macOS:
GitHub · github.com/bitcoin/bitcoin/pull/34937Fix startup failure with RLIM_INFINITY fd limits by Sjors · Pull Request #34937 · bitcoin/bitcoinWhen setting the fd limit to unlimited, the node fails to start: ulimit -n unlimited build/bin/bitcoind Error: Not enough file descriptors available. -1 available, 160 required. This was caused by ...
D66 zet dus vrijheid van meningsuiting te koop voor €380M (en stuurt dat geld uiteraard het land uit).
De partij van Jetten zou begin deze maand achter de schermen hebben afgesproken het verzet tegen de indiening te staken. In ruil daarvoor zou de VVD akkoord gaan met 380 miljoen extra voor de begroting van D66-minister Sjoerdsma van Buitenlandse Handel en Ontwikkelingssamenwerking. Het kabinet ontkent dat er zo'n deal is gemaakt.
Nederland moet gewoon het First Amendment overnemen. En evt. gelijk ook het tweede.
nos.nl/artikel/2619330-wetsvoorstel-tegen-verheerlijking-van-terrorisme-naar-de…Wetsvoorstel tegen verheerlijking van terrorisme naar de Tweede KamerHet gaat om een oud plan, dat gevoelig ligt in de huidige coalitie. Het is nog niet zeker of D66 ermee gaat instemmen.
↻ Sjors Provoost reposted
I don't understand why people want to get this off the ballot. Don't you want to know what percentage of your fellow humans want to rob you, so you can make an informed decision about living in California?
So if you make a thousand lightning roundtrips to yourself, you have to give the government 87% of it?
Phoenix uses this:
YouTube · youtu.be/BsfXZjKLT9ANanowar Of Steel - Kotlin (Official Power Point Video)
↻ Sjors Provoost reposted
Some clouds to confirm my (just for me) Blossom server works now...
I'm surprised their parents haven't told them that they should agree with the government when on TV :-) Anyway, future Nostr and Bitcoin users.
↻ Sjors Provoost reposted
↻ Sjors Provoost reposted
Best marketing you can get as a company. Also a reminder that open source models are important in the long run. Good luck printing a trillion weights on a T-shirt though.
So Bitcoin Core v29 will go end-of-life towards the end of this year. If for some reason you feel reluctant to upgrade to v31 (and v32 this fall), don't be! Just ask your favorite LLM to fetch the latest source code and "remove the corruption".
Bitcoin Core · bitcoincore.org/en/lifecycleSoftware Life CycleSoftware Life Cycle
↻ Sjors Provoost reposted
a note
5 TH/s, uses a small battery for voltage stability.
↻ Sjors Provoost reposted
↻ Sjors Provoost reposted
Primal renders social previews better than other platforms imo. My only recommendation would be to inprove the URL (and redirect): - start with the user, primal name or 6 characters of the npub (more if needed to disambiguate) - / first 6 or so characters after nevent
↻ Sjors Provoost reposted
↻ Sjors Provoost reposted
Meanwhile, somewhere deep in the legal labyrinth, the Dutch Central Bank claims that its mass surveillance correspondence with banks is *so* secret, that not even a judge is allowed to look at the documents. The judge did not agree. Of course the central bank will just drag this out in appeal. Two years since the initial freedom of information request and counting...
Human Rights in Finance.EU · hrif.eu/2026/06/dnb-bewijsobstructie-wooDNB weigert rechter te laten toetsen en hoopt zo haar Woo-verplichtingen te ontlopen - AMS 25/1652 - Human Rights in…DNB wilde in zaak tegen HRIF.EU de rechter geen inzage geven in stukken (8:29 Awb) - hoogst ongebruikelijk en het maakt rechterlijke toetsing onmogelijk.
↻ Sjors Provoost reposted
↻ Sjors Provoost reposted
UK keeps pushing hard for total surveillance. As far as Starmer is concerned, nobody on the planet deserves privacy, let alone has a right to it. All "for the children".
the Guardian · theguardian.com/technology/2026/jun/08/starmer-tech-firms-ultimatum-block-expli…Starmer gives tech firms ultimatum to block explicit images on children’s phonesCompanies such as Apple and Google have until September to install software or face legislation, says PM
↻ Sjors Provoost reposted
No strong opinion, but I'll buy the hat :-)
Drop BlockTreeEntry from the Bitcoin Kernel APIThe BlockTreeEntry type leaks internal details and couples clients to Bitcoin Core's implementation. The Kernel API is leaner, more stable and more robust without it.Read the articleClose the article

There are two fundamental issues with the BlockTreeEntry type in the Bitcoin Kernel API.

First, the name exposes implementation details that should remain internal. A Bitcoin node naturally maintains a tree-like structure of competing block (or block-header) candidates while determining the best chain. However, this internal representation is abstracted away from Kernel API clients. The API exposes only a linear view of a chain, allowing traversal back to genesis through repeated calls to btck_block_tree_entry_get_previous. Consequently, the term BlockTreeEntry implies an implementation detail that is neither visible nor relevant to API consumers.

Second, the API leaks details of the current implementation through its traversal interface:

const btck_BlockTreeEntry*
  btck_block_tree_entry_get_previous(
    const btck_BlockTreeEntry* self);

This function exposes the predecessor relationship as a property of an individual BlockTreeEntry, effectively encoding Bitcoin Core's current implementation into the public API. That coupling limits future refactoring, which is precisely one of the motivations for introducing a stable kernel interface. Ideally, relationships between blocks would be managed by an abstraction responsible for maintaining the relevant invariants, allowing the underlying representation to evolve without affecting API consumers.

The Bitcoin Kernel API already provides such an abstraction: Chain. If we view btck_chain_get_height as equivalent to Chain::size() - 1 and btck_chain_get_by_height as Chain::operator[], then Chain begins to resemble a sized, random-access view.

Furthermore, if we interpret btck_block_tree_entry_get_block_header as the equivalent of iterator dereference (operator*), then BlockHeader naturally becomes Chain::value_type and BlockTreeEntry becomes Chain::iterator. This leads to a rather elegant C++ representation in which container-like observers such as front(), back(), size(), empty(), and operator[] are deduced by the base implementation.

This raises an interesting question: should every occurrence of BlockTreeEntry in the C interface correspond to Chain::iterator in C++?

class Chain : public std::ranges::view_interface<Chain>
{
public:
  using value_type = BlockHeader;
  using iterator = /* ... */;

  iterator begin() const; // points to genesis
  iterator end() const;   // points past the tip

  bool Contains(iterator it) const; // ???
};

class ChainMan
{
public:
  Chain ActiveChain() const;
  std::optional<Chain::iterator>    // ???
    Find(BlockHash const& hash) const;
};

The problem is that an iterator alone is not a sufficient replacement for BlockTreeEntry. An iterator is meaningful only relative to a particular chain. Given a Chain::iterator, we cannot meaningfully traverse in either direction without knowing the chain to which it belongs. The referenced block may be part of a side branch rather than the active chain, and the iterator itself carries no information about the corresponding begin and end positions.

This suggests that the appropriate replacement for BlockTreeEntry is not an iterator, but a (Chain, iterator) pair. The Chain provides the context required for iteration, while the iterator identifies a particular position within that chain. Such a representation preserves the semantics of a block reference without exposing predecessor links or block-tree nodes.

However, this immediately raises another question: what information does the iterator contribute that is not already contained in the chain?

Given a block, there is exactly one path from genesis to that block. In other words, every block uniquely determines a chain whose tip is that block. A function such as

Chain ChainMan::Find(BlockHash const& hash) const;

can therefore return a Chain ending at the requested block. The tip of the returned chain identifies the block itself, while the remainder of the chain provides all traversal context. The empty state observer (operator bool()) inherited from std::ranges::view_interface naturally represents "not found", making std::optional unnecessary.

From this perspective, the (Chain, iterator) pair collapses into a single Chain object. Clients can obtain the block header via back(), ancestors via operator[], and height via size() - 1, all without exposing implementation details of the underlying block index.

The real question is not whether BlockTreeEntry should become an iterator, but whether BlockTreeEntry should exist in the public API at all, or whether Chain is already the more fundamental abstraction.

If we replace BlockTreeEntry with Chain throughout the interface, that also includes the function Chain::Contains. But since all chains begin at genesis, the operation actually answers whether one chain is a prefix of another, even if the implementation merely compares the block hash at height other.size() - 1.

This suggests that starts_with is the more appropriate name. The relationship being tested is not one of generic containment, but of one chain forming an initial segment of another. The name also has precedent in the standard library, where std::ranges::starts_with expresses the same operation for arbitrary ranges. Reusing established terminology makes the semantics immediately recognizable to users familiar with the standard ranges vocabulary.

At the same time, there is precedent for providing a member function whose observable behavior matches that of a generic algorithm while offering better complexity. For example, std::set::find and std::unordered_set::find express the same operation as std::find, but can exploit knowledge of the underlying representation to avoid a linear search. Likewise, Chain::starts_with could have the same semantics as std::ranges::starts_with while leveraging chain-specific invariants to answer the query in constant time. The member function therefore serves not to define a new operation, but to provide a more efficient implementation of an existing one.

A parallel opportunity exists for another operation. Bitcoin Core calls it FindFork internally, while the corresponding standard library algorithm is std::ranges::mismatch. Both identify the first position at which two sequences diverge, which in the context of chains corresponds to the last common ancestor before a fork.

Expressed in terms of chains, this operation determines the longest common prefix of two chains beginning at genesis. Once again, the semantics are purely range-based, and the result is independent of any particular internal representation.

This suggests introducing a member function Chain::mismatch. As with starts_with, the function would have the same observable behavior as std::ranges::mismatch, but could be implemented more efficiently by exploiting chain-specific structure (such as cached ancestry or indexed heights) rather than performing a linear comparison from genesis.

In this sense, both starts_with and mismatch illustrate a consistent design pattern: whenever a Kernel API operation corresponds directly to a standard library algorithm, the API should adopt the standard name while exposing it as a member function when the underlying domain allows for asymptotically better implementations.

Adopting Chain as the primary abstraction in place of BlockTreeEntry yields a cleaner, more stable, and more idiomatic Kernel API. It hides Bitcoin Core's internal block-tree implementation details, reduces coupling, and aligns the interface with modern C++ range concepts that developers already understand. By embracing vocabulary and patterns from the standard library (starts_with, mismatch, random-access views, etc.), the API becomes more intuitive, future-proof, and easier to maintain as the underlying data structures evolve.

This article on Nostr · updated

If you fall for a fiat boiler room scam, Dutch banks no long have to compensate you. It's now literally safer to self custody Bitcoin in even the shittiest wallet.
nos.nl/artikel/2617685-zelf-geld-overgemaakt-naar-een-fraudeur-dan-krijg-je-nik…Zelf geld overgemaakt naar een fraudeur? Dan krijg je het niet altijd terugTwee SNS-klanten boekten zelf bijna 60.000 euro over naar een fraudeur. De slachtoffers hoeven niet gecompenseerd te worden, oordeelt een klachteninstituut.
↻ Sjors Provoost reposted
a note
↻ Sjors Provoost reposted
Oh right, Warsaw has two airports... well that's one way to spend more sats.
Getting hungry... #BFF
↻ Sjors Provoost reposted
↻ Sjors Provoost reposted
Such an epic venue. And of course appropriate irony to watch films about a capitalist project in a building dedicated to Stalin. #BFF