Show block # on user profile #1

Closed
opened 2024-05-02 10:40:39 +00:00 by b · 1 comment
Owner

Show block # for all profiles, eg:

image

This can be achieved by scanning all relays for the oldest note. The feature can be gamed, eg by signing a very old note, and can be unreliable, eg if the old notes are deleted. Still, it's the best we can do until timestamp attestations become the norm.

To convert a timestamp to a block number, see this thread (correct explorer link is in a comment under the answer): https://stackoverflow.com/questions/53788151/getting-bitcoins-block-number-in-a-specific-date-and-hour

The text itself can be a link to the note, eg below

https://njump.me/nevent1qqsraslp7mt6659yjc294xmh8uualujxd763hysqv8uye50k2jk5wggppemhxue69uhkummn9ekx7mp0qgsxu35yyt0mwjjh8pcz4zprhxegz69t4wr9t74vk6zne58wzh0waycrqsqqqqqpj2yrdr

Show block # for all profiles, eg: ![image](/attachments/54544584-158c-4338-b232-7df55fa735bb) This can be achieved by scanning all relays for the oldest note. The feature can be gamed, eg by signing a very old note, and can be unreliable, eg if the old notes are deleted. Still, it's the best we can do until timestamp attestations become the norm. To convert a timestamp to a block number, see this thread (correct explorer link is in a comment under the answer): https://stackoverflow.com/questions/53788151/getting-bitcoins-block-number-in-a-specific-date-and-hour The text itself can be a link to the note, eg below https://njump.me/nevent1qqsraslp7mt6659yjc294xmh8uualujxd763hysqv8uye50k2jk5wggppemhxue69uhkummn9ekx7mp0qgsxu35yyt0mwjjh8pcz4zprhxegz69t4wr9t74vk6zne58wzh0waycrqsqqqqqpj2yrdr
b changed title from Show block # for new users to Show block # on user profile 2024-05-02 10:46:10 +00:00
s self-assigned this 2024-05-07 07:44:28 +00:00
Owner

closed by PR #18

closed by PR #18
s closed this issue 2024-05-10 11:11:43 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sigit/sigit.io#1
No description provided.