Bitcoin Forum
May 08, 2024, 12:13:38 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Had enough of ordinals?  (Read 154 times)
equintana (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 18


View Profile
March 16, 2023, 07:20:22 AM
Merited by pooya87 (1)
 #1

Ordinals discussions have been on the table now for some time.
Some may argue that they are beneficial, some see them as harmful,
and some other people don't bother because the incentives mechanisms
and the market will eventually figure out their place in the ecosystem.
I am not going to debate any of these positions.

As a node operator, I have the freedom to choose the bitcoin version running
on my node. Likewise I can choose not to propagate on the network those
transactions that I may consider harmful. It's my choice.

But I am not a bitcoin core developer; today I lack the technical skills to patch
bitcoin-core or tune some parameter that would allow me to control what the
software on my node is doing on my behalf.

Question: is there anyone out there that can illustrate how to remove ordinals
transactions from the mempool of my node?

Thank you.
1715170418
Hero Member
*
Offline Offline

Posts: 1715170418

View Profile Personal Message (Offline)

Ignore
1715170418
Reply with quote  #2

1715170418
Report to moderator
1715170418
Hero Member
*
Offline Offline

Posts: 1715170418

View Profile Personal Message (Offline)

Ignore
1715170418
Reply with quote  #2

1715170418
Report to moderator
1715170418
Hero Member
*
Offline Offline

Posts: 1715170418

View Profile Personal Message (Offline)

Ignore
1715170418
Reply with quote  #2

1715170418
Report to moderator
The network tries to produce one block per 10 minutes. It does this by automatically adjusting how difficult it is to produce blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715170418
Hero Member
*
Offline Offline

Posts: 1715170418

View Profile Personal Message (Offline)

Ignore
1715170418
Reply with quote  #2

1715170418
Report to moderator
1715170418
Hero Member
*
Offline Offline

Posts: 1715170418

View Profile Personal Message (Offline)

Ignore
1715170418
Reply with quote  #2

1715170418
Report to moderator
ABCbits
Legendary
*
Offline Offline

Activity: 2870
Merit: 7488


Crypto Swap Exchange


View Profile
March 16, 2023, 10:22:56 AM
Merited by equintana (4), pooya87 (2)
 #2

Question: is there anyone out there that can illustrate how to remove ordinals
transactions from the mempool of my node?

Only for mempool? Use this patch and compile Bitcoin Core from source code, https://gist.github.com/luke-jr/4c022839584020444915c84bdd825831. You just need to follow compilation guide from https://github.com/bitcoin/bitcoin/tree/master/doc#building. But if you don't want to store any Ordinal data on blocks, you should run Bitcoin Core 0.12.1 or other client which doesn't support SegWit which means your node doesn't store any witness data.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Gabrics
Full Member
***
Offline Offline

Activity: 183
Merit: 112

Just digging around


View Profile WWW
March 16, 2023, 12:06:29 PM
 #3

I believe this is fairly hard/impossible to do but would be fairly easy from the source of bitcoin core. Assuming of course this is a kind of consensus (eg. enough nodes agree)

On my own I would choose a transaction size based approach like charing 10-100x fee for the top 1x of the transactions?

Ordinals discussions have been on the table now for some time.
Some may argue that they are beneficial, some see them as harmful,
and some other people don't bother because the incentives mechanisms
and the market will eventually figure out their place in the ecosystem.
I am not going to debate any of these positions.

As a node operator, I have the freedom to choose the bitcoin version running
on my node. Likewise I can choose not to propagate on the network those
transactions that I may consider harmful. It's my choice.

But I am not a bitcoin core developer; today I lack the technical skills to patch
bitcoin-core or tune some parameter that would allow me to control what the
software on my node is doing on my behalf.

Question: is there anyone out there that can illustrate how to remove ordinals
transactions from the mempool of my node?

Thank you.
Macadonian
Sr. Member
****
Offline Offline

Activity: 467
Merit: 578


View Profile
March 16, 2023, 02:09:58 PM
 #4

Question: is there anyone out there that can illustrate how to remove ordinals
transactions from the mempool of my node?

Only for mempool? Use this patch and compile Bitcoin Core from source code, https://gist.github.com/luke-jr/4c022839584020444915c84bdd825831. You just need to follow compilation guide from https://github.com/bitcoin/bitcoin/tree/master/doc#building. But if you don't want to store any Ordinal data on blocks, you should run Bitcoin Core 0.12.1 or other client which doesn't support SegWit which means your node doesn't store any witness data.
Is it possible to detect which nodes have applied this patch because I think if every node did it we could remove ordinals and the problems they bring to the Blockchain?
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10555



View Profile
March 16, 2023, 02:42:35 PM
 #5

Is it possible to detect which nodes have applied this patch
Not presently but technically it is an easy thing to do. The nodes could modify their user agent (also known as subversion) to indicate their refusal to contribute to the Ordinals Attack. eg. "/Satoshi:24.0.1(NoOrdinals)/"

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
vjudeu
Hero Member
*****
Offline Offline

Activity: 678
Merit: 1560



View Profile
March 16, 2023, 06:12:43 PM
Merited by ABCbits (1)
 #6

Quote
Is it possible to detect which nodes have applied this patch
Yes, even some of those who approve ordinals, created some scripts to ban nodes with that filters, because they consider it to be a "censorship": https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2023-February/021487.html

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
ABCbits
Legendary
*
Offline Offline

Activity: 2870
Merit: 7488


Crypto Swap Exchange


View Profile
March 17, 2023, 12:23:56 PM
Merited by pooya87 (2)
 #7

--snip--
Is it possible to detect which nodes have applied this patch because I think if every node did it we could remove ordinals and the problems they bring to the Blockchain?

Theoretically it's possible, but who knows how reliable is it. You can initiate connection with any full node, then send "mempool" message[1] which ask list of unconfirmed transaction. After you obtain the list, you just need to check whether it contains any Ordinals TX. Or just ask Ordinal TX data using "getdata" message[2].

[1] https://developer.bitcoin.org/reference/p2p_networking.html#mempool
[2] https://developer.bitcoin.org/reference/p2p_networking.html#getdata

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!