Lloyd Fournier

Results 280 comments of Lloyd Fournier

Awesome would be really interested to see what you come up with here since I want to have it in `bdk_core`. What do you think about the idea about being...

@danielabrozzoni my idea was that BDK would use this internally when computing the weight for coin selection so we didn't just use `max_satisfaction_weight`. I guess advanced users should be able...

FWIW my plan is **not** to merge this PR or something similar but rather to reduce the surface area that the main BDK lib has with blockchain interactions. I have...

IMO this PR is suboptimal because of #701. I think it should be fixed first to make the code in this PR make sense. @nickfarrow?

Thanks for the detailed explanation @rajarshimaitra. > That's interesting. Though I don't want to build another custom sync logic just for RPC because that will break all those "unifying" points...

Sure. To do this strictly correctly you need to know the "median time past": https://github.com/bitcoin/bitcoin/blob/a4e066af8573dcefb11dff120e1c09e8cf7f40c2/src/chain.h#L290-L302 I think an implementation on latest block timestamp would be better than nothing though?

Maybe relevant: https://github.com/rust-bitcoin/rust-miniscript/pull/408

> I have reached a small hiccup. I was going to get blocktimes (for median time past) from the `blockchain` object, but then realised there is no way of actually...

I don't get why that warning exists at all. The whole advantage of using electrum is stateless querying.