{"push_id":569827151,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"a9565863e09a32729bd6ce33f31889099b3d75cb","before":"183ca292bd244973698347a6744836e2e9ea8a89","commits":[{"sha":"a6516686dcf0b93dd0bcae304e74f9ac69cb305c","author":{"email":"5a449cbdc04e89894779f68ac5d3d686787e8b52@t-online.de","name":"Philip Kaufmann"},"message":"[Qt] prevent amount overflow problem with payment requests\n\nBitcoin amounts are stored as uint64 in the protobuf messages (see\npaymentrequest.proto), but CAmount is defined as int64_t. Because\nof that we need to verify that single and accumulated amounts are\nin a valid range and no variable overflow has happened.\n\n- fixes #5624 (#5622)\n\nThanks @SergioDemianLerner for reporting that issue and also supplying us\nwith a possible solution.\n\n- add static verifyAmount() function to PaymentServer and move the logging\n  on error into the function\n- also add a unit test to paymentservertests.cpp","distinct":true,"url":"https://api.github.com/repos/fanquake/bitcoin/commits/a6516686dcf0b93dd0bcae304e74f9ac69cb305c"},{"sha":"a9565863e09a32729bd6ce33f31889099b3d75cb","author":{"email":"bbc07dc96bb50bf6868a2ddfc4dae14fbed703d9@gmail.com","name":"Wladimir J. van der Laan"},"message":"Merge #5629: [Qt] prevent amount overflow problem with payment requests\n\na651668 [Qt] prevent amount overflow problem with payment requests (Philip Kaufmann)","distinct":true,"url":"https://api.github.com/repos/fanquake/bitcoin/commits/a9565863e09a32729bd6ce33f31889099b3d75cb"}]}