One Number Nobody Actually Saw, Everyone Still Trusts
a vault's risk policy needs to check something like oracle health before it lets a transaction through. seems simple enough, pull the price, run the check.. pass or fail. Except newton doesn't just pull it from one place.
every operator fetches that price independently, through its own connection, its own path. the idea being no single feed becomes the thing everyone blindly trusts. which makes sense as a design choice.
problem is if everyone's fetching separately, they're not all going to land on the exact same number. one operator gets 1.001, another gets 0.998. small gaps, but still different. and since they all need to sign off on the same result for the attestation to actually work, someone has to turn that into one number. newton's answer is it takes the median across whatever came back and that becomes the number the policy runs against.
reasonable way to handle it honestly. median's harder to manipulate than an average, one slow or bad operator can't just drag it wherever they want on their own.
but it does mean the number that decides whether a transaction passes isn't anyone's actual observed price. it's a constructed middle value that no single operator individually saw. fine for a pass or fail check I'd guess, doesn't need to be exact to the decimal. just feels a little strange that the more Independent and decentralized the data gathering is, the more the final result ends up being one smoothed out number that nObody individually reported.
this sits right inside the risk domain they talk about too, oracle health specifically, not leverage or counterparty stuff. so it's not some edge case, it's actually one of the four things being checked constantly.
magic labs building the execution side clearly knows what they are doing given the wallet infra already running elsewhere. this part though, how you turn several slightly different observations into one trusted number, feels like the kind of detail that matters more the bigger the vaults get.
curious if this ever bEcomes visible to anyone using these vaults, or if it just stays a background step nobody outside the protocol ever really looks at.
@NewtonProtocol $NEWT #Newt #BitcoinReboundsAbove$61K #Vault $BTC $BNB