Bitcoin Forum
May 12, 2024, 10:05:56 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Definition of the priority buckets  (Read 1182 times)
sho_road_warrior (OP)
Member
**
Offline Offline

Activity: 114
Merit: 10

PMs blocked, send answers to main.


View Profile
March 03, 2015, 09:08:25 AM
 #1

I want to add more information to my nodes info page and thought about adding infos for the priority of the TX in the nodes mempool. IIRC getrawmempool true returns the priority of each TX. I also know that a priority over 57.6 million is considered high and that bitcoin core/qt has other buckets when it classifies an input. Those that I can remember atm are lower, lowest(?), low-medium, medium, medium-high.

Which range of value do these buckets or words represent? Are the values behind them comparabel to the values of a TXs priority? I know tbe size plays a role when determining a TXs priority.

tl;dr: what are reasonable buckets for a TXs priority when presented in a graph?

┏(-_-)┛┗(-_- )┓┗(-_-)┛┏(-_-)┓
1715551556
Hero Member
*
Offline Offline

Posts: 1715551556

View Profile Personal Message (Offline)

Ignore
1715551556
Reply with quote  #2

1715551556
Report to moderator
1715551556
Hero Member
*
Offline Offline

Posts: 1715551556

View Profile Personal Message (Offline)

Ignore
1715551556
Reply with quote  #2

1715551556
Report to moderator
I HATE TABLES I HATE TABLES I HA(╯°□°)╯︵ ┻━┻ TABLES I HATE TABLES I HATE TABLES
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4172
Merit: 8420



View Profile WWW
March 04, 2015, 05:39:29 AM
 #2

There is no such thing as categories of priority. Priority is either high enough to not be treated as zero, or it's not. And everything is linear in priority after that.

(You're referring to BC.i's behavior, I think.... which has little to no connection to reality.)
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1520


No I dont escrow anymore.


View Profile WWW
March 04, 2015, 07:14:48 AM
Last edit: March 04, 2015, 09:20:14 PM by shorena
 #3

There is no such thing as categories of priority. Priority is either high enough to not be treated as zero, or it's not. And everything is linear in priority after that.

(You're referring to BC.i's behavior, I think.... which has little to no connection to reality.)

Thanks for the answer. A binary graph would be easier, but I was refering to the following categories in bitcoin core/qt:

-Im shy about my coins-

I know at this stage its just an unspend output from the previous transaction, but judging how high amounts and few confirmations get a higher "rating" I though this was related to the the priority of a transaction.

I found it in the source[1] now and it looks like a log scale around the hard coded value "AllowFreeThreshold()"[2] (aka "bitcoin day") or as of 0.10. an estimate depending on the nodes mempool.



[1] https://github.com/bitcoin/bitcoin/blob/7620ef9e7edbc3526e71922e7b080b5a332d6897/src/qt/coincontroldialog.cpp#L422
[2] https://github.com/bitcoin/bitcoin/blob/f914f1a746d7f91951c1da262a4a749dd3ebfa71/src/txmempool.h#L18

Im not really here, its just your imagination.
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4172
Merit: 8420



View Profile WWW
March 04, 2015, 07:28:47 AM
 #4

Thats goofy, I missed that. Don't worry: I'm going to go remove that right now.
sho_road_warrior (OP)
Member
**
Offline Offline

Activity: 114
Merit: 10

PMs blocked, send answers to main.


View Profile
March 04, 2015, 02:14:01 PM
 #5

Thats goofy, I missed that. Don't worry: I'm going to go remove that right now.

Haha, allright. In that case Ill go for the "high enough or not" approach.

┏(-_-)┛┗(-_- )┓┗(-_-)┛┏(-_-)┓
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!