bairen has quit [Remote host closed the connection]
brunoerg has joined #bitcoin-core-dev
bairen has joined #bitcoin-core-dev
doppo has joined #bitcoin-core-dev
szkl has joined #bitcoin-core-dev
bairen has quit [Ping timeout: 240 seconds]
bairen has joined #bitcoin-core-dev
brunoerg has quit [Remote host closed the connection]
darosior has quit [Ping timeout: 276 seconds]
brunoerg has joined #bitcoin-core-dev
darosior has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 246 seconds]
bairen has quit [Ping timeout: 240 seconds]
bairen has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 255 seconds]
brunoerg has joined #bitcoin-core-dev
darosior has quit [Ping timeout: 246 seconds]
brunoerg has quit [Ping timeout: 244 seconds]
koolazer has joined #bitcoin-core-dev
darosior has joined #bitcoin-core-dev
bairen has quit [Remote host closed the connection]
bairen has joined #bitcoin-core-dev
dorianS has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 240 seconds]
bitdex has joined #bitcoin-core-dev
poe has joined #bitcoin-core-dev
dorianS has left #bitcoin-core-dev [#bitcoin-core-dev]
jarthur has quit [Read error: Connection reset by peer]
jarthur_ has joined #bitcoin-core-dev
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 272 seconds]
cmirror has quit [Remote host closed the connection]
cmirror has joined #bitcoin-core-dev
sudoforge has joined #bitcoin-core-dev
sudoforge has quit [Read error: Connection reset by peer]
sudoforg1 has joined #bitcoin-core-dev
szkl has quit [Quit: Connection closed for inactivity]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 258 seconds]
sudoforg1 has quit [Quit: 404]
sudoforge has joined #bitcoin-core-dev
SpellChecker has quit [Ping timeout: 240 seconds]
SpellChecker has joined #bitcoin-core-dev
BUSY has joined #bitcoin-core-dev
evanlinjin_ has joined #bitcoin-core-dev
mudsip has joined #bitcoin-core-dev
mudsip has quit [Client Quit]
Guest41 has joined #bitcoin-core-dev
Guest41 has quit [Client Quit]
brunoerg has joined #bitcoin-core-dev
brunoerg has quit [Ping timeout: 246 seconds]
sudoforge has quit [Quit: 404]
<laanwj>
jonasschnelli (or who else has access to core-meetingbot): plesae log in the bot with nickserv; it's unable to talk in the channel now, though apparently we can work around by opping it
yanmaani has quit [Remote host closed the connection]
<bitcoin-git>
[bitcoin] martinus opened pull request #25325: [WIP] Add pool based memory resource (master...2022-06-very-not-scary-NodePoolResource) https://github.com/bitcoin/bitcoin/pull/25325
<amirreza>
Hi guys, can someone explain me what does the function GetNextWorkRequired do in the pow.cpp ? does it calculate the difficulty for the next two weeks?
mudsip has joined #bitcoin-core-dev
kexkey has quit [Ping timeout: 246 seconds]
kexkey has joined #bitcoin-core-dev
jonatack has quit [Ping timeout: 256 seconds]
evanlinjin_ has quit [Ping timeout: 240 seconds]
brunoerg has joined #bitcoin-core-dev
mudsip has quit []
brunoerg has quit [Ping timeout: 248 seconds]
brokenprogrammer has quit [Quit: Client closed]
brunoerg has joined #bitcoin-core-dev
bomb-on has joined #bitcoin-core-dev
AaronvanW has quit [Remote host closed the connection]
evbo has quit [Ping timeout: 255 seconds]
brunoerg has quit [Ping timeout: 248 seconds]
<michaelfolkson>
amirreza: This would be better asked on #bitcoin-core-pr-reviews as it isn't related to any ongoing Core development (afaik).
<michaelfolkson>
There is a difficulty adjustment every 2016 blocks (approximately 2 weeks)
evbo has joined #bitcoin-core-dev
<michaelfolkson>
GetNextWorkRequired does what the name implies, gets the difficulty for the next block
<michaelfolkson>
CalculateNextWorkRequired calculates the new difficulty for the next difficulty adjustment
<amirreza>
for each block it calculate the difficulty again? while it is fixed for 2016 blocks.
<bitcoin-git>
[bitcoin] MarcoFalke opened pull request #25331: Add HashWriter without ser-type and ser-version and use it where possible (master...2206-hashwriter-👽) https://github.com/bitcoin/bitcoin/pull/25331
<amirreza>
@michaelfolkson, for each block it calculate the difficulty again? while it is fixed for 2016 blocks.
jonatack has joined #bitcoin-core-dev
<michaelfolkson>
amirreza: No it doesn't calculate the difficulty for every new block if it is the same difficulty as the last block (I didn't know testnet regularly drops to min-difficulty block though)
<michaelfolkson>
But yeah should move to #bitcoin-core-pr-reviews