Back to ODIN SuiteAsgard Hashworks · Research
Download PDF
Cite

Cite this article

Plain text
Chancellor, S. (2026). ODIN: a fail-closed execution engine for proof-of-work compute markets. Version 1.0. Asgard Hashworks, 3 December 2026. https://asgardhashworks.com/papers/odin/
BibTeX
@techreport{chancellor2026odin,
  author      = {Chancellor, Steve},
  title       = {{ODIN}: a fail-closed execution engine for proof-of-work compute markets},
  institution = {Asgard Hashworks},
  type        = {Preprint},
  year        = {2026},
  month       = dec,
  note        = {Version 1.0, 3 December 2026},
  url         = {https://asgardhashworks.com/papers/odin/}
}

Preprint · Version 1.0ODIN Suite · Technical paper

ODIN: a fail-closed execution engine for proof-of-work compute markets

Method, model stack and safety design, with the first measured results from the developer’s own account

Steve Chancellora

a Asgard Hashworks, Oklahoma City, OK, United States

Version 1.0 · 3 December 2026 · describes ODIN Suite 1.10.0

Companion paper: MIMIR, the decision engine of ODIN Equities & Exchange

© 2026 Steve Chancellor. Licensed under CC BY-NC-ND 4.0

Every measured figure in Section 7 comes from the author’s own account over the dates stated. The results are reported before and after marketplace fees, and the after-fee result is a loss.

Highlights

  • One engine buys hashrate and GPU compute on six marketplaces with incompatible conventions: NiceHash, Braiins Hashpower, MiningRigRentals, Clore.ai, Vast.ai and OctaSpace.
  • Eighteen models run live, each given with its formula, role, inputs, behaviour without data and status: ten that value capacity and learn how orders fill, and an eight-model quant desk.
  • Capital is committed only when the fee-adjusted margin clears a volatility-scaled band, behind eight spending gates; stale, unreadable or non-finite data means hold.
  • Exact satoshi accounting, one hold and kill switch across all markets, no withdrawal code anywhere, and a hash-chained record of every create, re-price, cancel and destroy.
  • First measured results, stated straight: 99.7% pool delivery, and a trading result of +1.9% before fees and −15.7% after them at the small order sizes tested.

Abstract

ODIN Suite is a locally run execution system for Bitcoin hashrate and rented GPU compute, built and operated at Asgard Hashworks; ODIN is its decision and execution engine. It buys capacity on six marketplaces with incompatible conventions: a continuous limit order book (NiceHash), a speed-limited spot bid market (Braiins Hashpower), fixed-term rig rentals (MiningRigRentals) and preemptible GPU rentals (Clore.ai, Vast.ai and OctaSpace). This paper sets out the method in full. We describe eighteen models that ODIN runs live: ten that value hashrate and learn how the market fills an order, and eight statistical models that detect regime changes, forecast prices and put distribution-free bands around every estimate. For each we give the formula, its role in the decision, its inputs, its behaviour without data and its status. We show how the models feed one fail-closed rule: capital is committed only when the fee-adjusted margin clears a volatility-scaled band, behind eight runtime gates, and any stale, unreadable or non-finite input means hold. We describe the execution layer for each venue, exact integer accounting in satoshis, a shared hold and kill switch across all markets, and a hash-chained record of every create, re-price, cancel and destroy. We then report what the engine has measured on its developer’s own account: a pool-credit delivery ratio of 99.7%, and a first trading result that was positive before marketplace fees (+1.9%) and negative after them (−15.7%) at the small order sizes tested. We state where the method is weak and what would show it does not work.

Keywords

  • proof-of-work
  • hashrate markets
  • GPU compute
  • market microstructure
  • fail-closed design
  • pool calibration
  • change-point detection
  • conformal prediction
  • hash-chained audit log

JEL classification

  • C61
  • C63
  • D44
  • D47
  • G11
  • L86

How to cite

Chancellor, S. (2026). ODIN: a fail-closed execution engine for proof-of-work compute markets. Version 1.0. Asgard Hashworks, 3 December 2026.

Notice. This paper describes software and its measured behaviour on one operator’s account. It is not investment advice, not an offer or a recommendation to trade anything, and it makes no promise of results. The results in Section 7 are from the author’s own account over the dates stated and do not predict the results of anyone else. Trading hashrate and renting compute can lose money.

1Design thesis

Four commitments shape every part of the system. Each is stated with the mechanism that enforces it and with its present limit, because a principle without a mechanism is a slogan.

1.1Sovereignty

The program runs on the operator’s own machine, with the operator’s own venue accounts. There is no vendor service between the operator and a venue, and Asgard Hashworks never holds a customer’s keys or funds.

  • Zero custody. ODIN calls no withdrawal or transfer endpoint on any venue, and venue keys need no withdrawal permission. The product rule is that no code path withdraws, and adding a venue is reviewed against that rule.

  • Sealed secrets. On Windows, keys in the settings file are sealed with the operating system’s data-protection facility on first start. On Linux they are kept in the service manager’s encrypted credentials and decrypted only into the service’s private in-memory directory.

  • No inbound ports. Every connection ODIN makes is outbound, to the venues, the pool, a block explorer and, for online licences, the licence service. Its phone dashboard, HUGINN, binds to the loopback address and is reached over the operator’s private Tailscale network.

The limit: sovereignty moves risk to the operator. A compromised host compromises the keys on it, and no design here removes that.

1.2Measure, do not assume

Every parameter that can be measured is measured on the operator’s own account: the lag before the pool credits work, the price-cut step NiceHash accepts, the share of an order’s limit that fills at each price, the hour-of-day pattern of dips, and the regime the market is in. Every parameter that must be estimated carries its uncertainty into the decision as a band, not a point. The limit: a new account has no history, so the engine starts from conservative defaults and earns its parameters over days (Section 3).

1.3Fail-closed operation

Missing, stale, malformed or non-finite data means hold. Every number read from a venue passes a finite-value filter that drops NaN, infinities and absurd magnitudes; a book older than 20 seconds is not priced; a new income reading more than 20% away from the last is rejected as a data error. New installations start in watch-only mode, which reads every market and changes nothing. A malformed number in the settings file puts every market in watch-only mode. The limit: holding is not free. A hold during a fall in prices can mean a missed purchase, and the design accepts that cost.

1.4Proof by public record

Every create, re-price, cancel and destroy is written to a hash-chained log that the operator can verify (Section 6). Releases are signed with a certificate issued to a named person and with a separate release key. The author applies the same discipline to his own results: every pool payout, order and rental behind Section 7 is published with blockchain transaction links.

1.5What exists today

ODIN Suite is three programs and several modules inside them (Table 1). Unlike a design that is not yet joined, these run together on the author’s machine every day.

Table 1. Components and their state as of ODIN Suite 1.10.0.

ComponentWhat it doesState
ODIN engineReads six markets, values capacity, decides and acts every 2 sLive on the author’s account; watch-only by default for new installs
Quant deskEight statistical models (Sections 3.11–3.18)Live, fed by the engine’s own data
SLEIPNIRSupervises ASICs, GPUs, CPUs and Bitaxe devicesLive on the author’s farm
HUGINNRead-only phone dashboard with owner, finance and technician viewsLive; GET only
OUTBOUNDCompares mining with selling or hosting the same capacityLive, read-only; never trades
Replay and optimiserReplays recorded books walk-forward with no look-aheadLive, run on demand
Fleet viewOne dashboard across several sitesLive, read-only
Figure 1. The engine. Each cycle reads the markets, decides, acts and records. Only steps 3 and 4 can place, fund, re-price or cancel orders and rentals, and they act only when all eight gates hold. A source-level test fails the build if NiceHash order calls appear anywhere outside step 3.

2The markets, by design

ODIN buys one commodity, computational work, in six places that do not share a book (Table 2). We set out why these markets reward a careful buyer, the arguments against, and what would show the choice was wrong.

Table 2. The six venues as ODIN uses them in version 1.10.0.

VenueMarket formWhat ODIN does thereRead every
NiceHashContinuous limit order book for SHA-256 hashrateCreates, funds, re-prices and resizes its own orders; parks below break-even2 s (each cycle)
Braiins HashpowerSpot bids with a speed limitPlaces and adjusts one bid, marked as ODIN’s10 s
MiningRigRentalsFixed-term rentals of named rigsScores listings and rents only when the whole term clears2 min
Clore.aiPreemptible GPU rentals with spot bidsRents, out-bids within a ceiling, releases unproductive machines1–5 min
Vast.aiPreemptible GPU rentals with bidsRents, re-bids and destroys its own labelled instances15 min (20 s while holding)
OctaSpaceGPU rentalsRents in AUTO mode when a confirmed profit window opens30 s

2.1The argument

Computational work is perishable. Capacity that is idle now earns nothing for that time, and capacity bought above its value earns a negative return for as long as the order or rental runs. Prices on these venues are set by buyers who mostly bid by hand or with simple rules, against a value that changes with network difficulty and block fees. Work on the economics of mining shows that hashrate enters and leaves as its value moves [1, 2, 3], that rentable hashrate is a real and liquid market [4], and that miners already treat the allocation of work across pools as a risk-return problem [5, 6]. Research on cloud computing finds the same pattern for compute in general: a buyer who compares prices across providers and handles preemption can cut cost substantially [7, 8, 9].

Three frictions make a careful buyer useful. Units: venues quote in BTC per PH per day, BTC per TH per day or US dollars per GPU-hour, with different proportional and fixed fees, so the lowest headline price is often not the lowest effective price. Delivery: a pool credits less than the nominal hashrate implies, by an amount that varies with share luck and connection quality [10, 11]. Time: difficulty changes every 2,016 blocks and the adjustment lags hashrate [12, 13], so a price that is profitable today can be unprofitable after the next retarget. Each friction is measurable, and measuring it is the work of Section 3.

2.2The case against

  • Fees can exceed the edge. NiceHash charges a fixed fee per order and a proportional fee. At small order sizes the fixed fee alone can remove a pricing advantage. Section 7 shows this happened.

  • Other bots. Some buyers run automated bidders. On GPU markets a rival can out-bid any price below ODIN’s ceiling, and a bidding war only transfers margin to the venue.

  • Delivered work is uncertain. A rented machine can deliver less than advertised, start late or be preempted. A hashrate order can fill partly.

  • Venue risk. Balances held on a venue are unsecured claims on that venue.

  • Regime change. A fee schedule, a new large buyer or a halving can remove an edge that was real.

2.3Falsification

The claim that a careful buyer can operate profitably in these markets is rejected, for a given order size, if any of the following is found on recorded data:

  • the pool credits less than the cost of the capacity after every fee, over a period long enough for share luck to average out;

  • the margin is positive before fees and not after them at every order size the operator can afford;

  • the periods that carry the margin coincide with stale books or failed reads, so that the gates of Section 4 remove them.

The first measured period (Section 7) meets the second condition at the small size tested. A rejection is a result, and it is reported as one.

3The model stack

ODIN runs eighteen models. Sections 3.1 to 3.10 value capacity and learn how the market fills an order; Sections 3.11 to 3.18 are the quant desk, which watches for regime changes, forecasts the clearing price and puts a distribution-free band around every estimate. For each model we give the formula, the role, the inputs, the behaviour without data and the status. The status vocabulary is exact: Live means the model runs in the shipped engine and its tests pass, including tests with missing, zero, negative, NaN and infinite inputs; Live, advisory means it is computed and shown but does not by itself change an order. All models are plain Rust with no external mathematics library.

Notation: DD network difficulty, RR block reward including fees, ϕp\phi_p pool fee, ϕb\phi_b NiceHash buyer fee, pp bid in BTC per EH/s per day, δ\delta delivery ratio, II income per EH/s per day.

3.1Hash value

Status: Live

I=86400⋅1018⋅R232⋅D (1−ϕp) k,m(p)=δIp (1+ϕb)−1I=\frac{86400\cdot 10^{18}\cdot R}{2^{32}\cdot D}\,(1-\phi_p)\,k,\qquad m(p)=\frac{\delta I}{p\,(1+\phi_b)}-1
(1)

Role.  Income per EH/s per day from live difficulty and the measured block reward, net of the pool fee, times the calibration factor kk (3.2); m(p)m(p) is the margin at bid pp. Every ceiling in the engine derives from it [1, 14].

Inputs.  Difficulty and block rewards from a public block explorer, refreshed every 5 minutes.

Without data.  No income, no ceiling: every venue holds. A reading more than 20% from the last is rejected.

3.2Delay-aware pool calibration

Status: Live. Measured value on the author’s account: Section 7

Let CC be cumulative pool credits and MM cumulative modelled earnings. Credits arrive after a lag LL, estimated by least squares on hourly increments. The calibration factor is

k=clamp⁡ ⁣(C(t)−C(t−W)M(t−L)−M(t−W−L), 0.85, 1.02)k=\operatorname{clamp}\!\left(\frac{C(t)-C(t-W)}{M(t-L)-M(t-W-L)},\ 0.85,\ 1.02\right)
(2)

blended in only after 20,000 satoshis of verified credit.

Role.  Holds the income model to what the pool actually pays [6, 10].

Without data.  k=1k=1 until enough credit is verified; the clamp stops one bad hour from moving prices far.

3.3Kalman filter on delivery

Status: Live, rebuilt every hour from the stored snapshots

The hourly delivery ratio rh=ΔCh/ΔMh−Lr_h=\Delta C_h/\Delta M_{h-L} (used only when ΔM≥50\Delta M\ge 50 satoshis) is treated as a noisy observation of a slowly moving level:

xh=xh−1+wh,rh=xh+vh,x^h=x^h−1+Kh(rh−x^h−1)x_h=x_{h-1}+w_h,\quad r_h=x_h+v_h,\qquad \hat x_h=\hat x_{h-1}+K_h(r_h-\hat x_{h-1})
(3)

with the observation noise estimated from the innovations by a slow moving average and floored so that one hour is never trusted blindly.

Role.  Separates real changes in delivery from share luck [15, 16]; the filter’s consistency is reported so a reviewer can check it.

Without data.  Not used until six hourly ratios exist.

3.4Retarget uncertainty

Status: Live

With nn blocks found so far in the epoch, BB blocks still to come and an estimated change cc, the uncertainty of the next difficulty change combines the rate-estimate error and the luck of the remaining blocks:

σc=(1+c) B20161n+1B,E ⁣[11+X]≈1+σc2/(1+c)21+c\sigma_c=(1+c)\,\frac{B}{2016}\sqrt{\frac{1}{n}+\frac{1}{B}},\qquad \mathbb{E}\!\left[\tfrac{1}{1+X}\right]\approx\frac{1+\sigma_c^2/(1+c)^2}{1+c}
(4)

Role.  Post-retarget income carries the second-order correction on the right, so a projected fall in difficulty is not over-valued [12, 17].

Without data.  Early in an epoch nn is small and σc\sigma_c is wide, which lowers every ceiling that looks past the retarget.

3.5Difficulty glide

Status: Live

NiceHash lets a buyer lower an order’s price by at most one step ss every ten minutes, and ss is learned on the account. To reach the post-retarget value ppostp_{\text{post}} by the retarget time TT, the ceiling glides early:

pmax⁡(t)=min⁡ ⁣(pnow, ppost+s⌈T−t600⌉)p_{\max}(t)=\min\!\Bigl(p_{\text{now}},\ p_{\text{post}}+s\Bigl\lceil\tfrac{T-t}{600}\Bigr\rceil\Bigr)
(5)

Role.  Prevents an order from being stranded above its value after a difficulty increase.

3.6Partial-fill curve

Status: Live

The share of an order’s limit that is served depends on the gap g=p−pclearg=p-p_{\text{clear}} between its price and the clearing price. Bin means are shrunk toward a prior step curve and made monotone by isotonic regression:

q(g)=PAV ⁣(∑share+n0q0n+n0),n0=20q(g)=\mathrm{PAV}\!\left(\frac{\sum\text{share}+n_0 q_0}{n+n_0}\right),\qquad n_0=20
(6)

Role.  A higher bid can never fill less; the curve tells the engine how little above clearing it can bid and still be served.

Without data.  Each bin starts as if it had seen 20 samples of the prior step curve.

3.7Hour-of-day fill and survival

Status: Live

The chance of a fill in hour hh is shrunk toward the all-day rate ff: fh=(Fh+fτ)/(Th+τ)f_h=(F_h+f\tau)/(T_h+\tau). Waiting times and dip lengths use empirical survival (mean residual life).

Role.  Times dip orders and the wait before locking a level.

Without data.  With no history in an hour, fh=ff_h=f; with fewer than three recorded runs, no survival estimate and no dip order.

3.8Budget pacing

Status: Live

Within a daily budget B\mathcal B, choose an hourly price to maximise expected margin:

max⁡ph∑hfh(ph)L(ph)(δI−ph(1+ϕb))  s.t. ∑hfh(ph)L(ph) ph(1+ϕb)≤B\max_{p_h}\sum_h f_h(p_h)L(p_h)\bigl(\delta I-p_h(1+\phi_b)\bigr)\ \ \text{s.t.}\ \sum_h f_h(p_h)L(p_h)\,p_h(1+\phi_b)\le\mathcal B
(7)

With a multiplier μ\mu the problem separates by hour, ph∗=arg⁡max⁡fhL(δI−(1+μ)p(1+ϕb))p_h^\ast=\arg\max f_hL(\delta I-(1+\mu)p(1+\phi_b)); μ\mu is found by bisection and is zero when money is not the limit.

3.9Speed into the dip

Status: Live

Order speed scales with how far the margin clears the requirement, measured in model standard deviations σ\sigma (calibration and retarget error combined):

L=L0+(Lmax⁡−L0)clamp⁡ ⁣(m−mreq2σ,0,1)L=L_0+(L_{\max}-L_0)\operatorname{clamp}\!\left(\frac{m-m_{\text{req}}}{2\sigma},0,1\right)
(8)

with Lmax⁡L_{\max} capped at one quarter of the profitable market depth. A dip order opens only if its expected profit beats its fixed fee; a new NiceHash order opens only if, on at least 24 hours of recorded books, it would earn three times its setup fee.

3.10Walk-forward optimiser

Status: Live, run on demand

odin –optimize replays the recorded books in time order with no look-ahead and adopts a setting only if it wins in both halves of the history.

3.11Two-sided CUSUM on the clearing price

Status: Live

Clearing prices are standardised against an exponentially weighted baseline (about a day of samples) and fed to a two-sided cumulative-sum detector:

St+=max⁡(0,St−1++zt−k),St−=max⁡(0,St−1−−zt−k),alarm if max⁡(S+,S−)>hS^+_t=\max(0,S^+_{t-1}+z_t-k),\quad S^-_t=\max(0,S^-_{t-1}-z_t-k),\quad\text{alarm if }\max(S^+,S^-)>h
(9)

with k=0.5k=0.5 and h=6h=6 standard deviations and a minimum absolute shift.

Role.  After an alarm, older fill history counts at 25%, so the engine re-learns the new regime [18, 19, 20].

3.12Bayesian online change-point detection

Status: Live, advisory

A run-length posterior over the clearing price with a Normal–Gamma prior (Student-tt predictive) gives the probability that a new regime started at each past moment [18, 21].

Role.  Confirms or questions a CUSUM alarm; new regimes are centred on the recent level.

3.13Adaptive conformal bands

Status: Live. A test checks coverage when the noise level jumps mid-sample

Every forecast carries an online split-conformal interval whose miscoverage level adapts:

αt+1=αt+γ(α−errt)\alpha_{t+1}=\alpha_t+\gamma(\alpha-\mathrm{err}_t)
(10)

so coverage holds over time even when the noise jumps [22, 23, 24].

Role.  The 90% band on delivery widens the required margin when delivery is uncertain.

Without data.  No band until 20 scores exist; the engine uses its conservative default band.

3.14Conformalised quantile forecast

Status: Live, advisory

An online linear quantile regression (pinball loss) forecasts the clearing-price move 30 minutes ahead at the 10%, 50% and 90% levels, conformalised with adaptive α\alpha [23, 25]. Its skill is reported against a random walk.

3.15Mean-reversion and dip depth

Status: Live, advisory

Price departures are fitted to an Ornstein–Uhlenbeck process; exact mean first-passage times give the expected wait for a dip of a given depth and the renewal-reward optimal depth to bid for.

3.16Rival ceiling posterior

Status: Live

On GPU markets, a censored product-limit (Kaplan–Meier) estimate of how far rival bidders go, pooled across every rival ODIN has met, together with each rival’s measured reaction time.

Role.  Tells the re-bidding controller (Appendix A) whether a bidding war can be won below the ceiling.

3.17Bidding-war step selection

Status: Live; the step never exceeds the ceiling

Thompson sampling over a small set of out-bid step sizes, with Beta–Bernoulli posteriors discounted for drift, chooses the step that most often wins without overpaying [26].

3.18Probability of backtest overfitting

Status: Live, advisory

When the optimiser compares settings, the probability that the chosen one is overfit is estimated by combinatorially symmetric cross-validation and reported with the result.

4The decision gate

4.1Margin clearance

For a quote PquoteP_{\text{quote}} on venue vv with proportional fee ϕv\phi_v, fixed fee FfixedF_{\text{fixed}} amortised over expected holding time τ\tau and allocated capacity HH, and a premium δrival\delta_{\text{rival}} to stay ahead of rivals, the effective cost and the clearance rule are

Ceff(v)=Pquote(1+ϕv)(1+δrival)+FfixedτH,ΔM=Pmax⁡−Ceff>κ σbookΔtpollC_{\text{eff}}(v)=P_{\text{quote}}(1+\phi_v)(1+\delta_{\text{rival}})+\frac{F_{\text{fixed}}}{\tau H},\qquad \Delta M=P_{\max}-C_{\text{eff}}>\kappa\,\sigma_{\text{book}}\sqrt{\Delta t_{\text{poll}}}
(11)

Here Pmax⁡P_{\max} is the venue’s profitable ceiling from Section 3, lowered ahead of a difficulty increase (3.5) and by the operator’s minimum margin.

4.2Profit guard

Above break-even, a NiceHash order parks at the profitable maximum and pays nothing until it fills. The engine’s console on 1 December 2026 showed the market at 0.4341 against a maximum bid of 0.4050 (margin −5.8-5.8%): the bid was parked and nothing was spent.

4.3Eight spending gates

For a venue vv, ODIN may spend only if

G(v)=Glive∧¬Gwatch∧¬Gtripped∧Gaudit∧Glicence∧Gfresh∧Gkey∧GbudgetG(v)=G_{\text{live}}\wedge\neg G_{\text{watch}}\wedge\neg G_{\text{tripped}}\wedge G_{\text{audit}}\wedge G_{\text{licence}}\wedge G_{\text{fresh}}\wedge G_{\text{key}}\wedge G_{\text{budget}}
(12)

The terms are the operator’s market mode, the watch-only switch, the kill switch, a writable audit log, a valid paid licence, fresh market data, the venue key and remaining budget. Watch-only and a tripped kill switch form one shared hold that every venue reads; the GPU rental task reads it again immediately before each spending call, and it starts in the held state.

4.4Non-finite and stale inputs

Every number from an API passes a finite filter. A NiceHash book older than 20 seconds is not priced; GPU device readings expire; no Vast.ai rental starts while instances cannot be read. Each of these is tested at its boundary.

4.5AUTO mode

Each non-NiceHash market can run in AUTO mode: it sits idle until a fresh, confirmed profit window opens, acts in the same cycle, and exits on the first bad reading.

5Execution and risk

5.1One module per kind of spending

Only orders.rs can create, fund, re-price or resize a NiceHash order, and a source-level test fails the build if those calls appear elsewhere. Braiins bids, MiningRigRentals rentals and GPU rentals are handled in venues.rs and its venue modules. The decide step places nothing; its only order call is the kill switch cancelling ODIN’s own orders.

5.2Exact money

Amounts sent to a venue and balances read from one are whole satoshis, parsed exactly and printed exactly. Prices, rates and margins stay in floating point, and no amount to send is computed in floating point.

5.3No second order on an unclear answer

After a timeout or an unclear reply, ODIN reads the venue’s state before doing anything else. It never sends a second order on the strength of an unknown outcome. Each GPU spending path is tested against a stand-in venue server: held, it sends no spending request; allowed, it sends exactly the expected one.

5.4Growth only on proven profit

A speed ladder raises order size only on profit verified in the wallet and steps down at once on a loss; a drawdown brake slows the engine after a run of losses. Hard ceilings and floors bound every price, and raises are step-limited.

5.5Kill switch

The kill switch trips on a daily loss cap counted across all markets from verified, already-used cost, or when a flag file is created while running. A trip cancels ODIN’s own NiceHash orders and, by default, stops ODIN-labelled GPU rentals once, from a list read that minute. Orders and rentals the operator started by hand are left alone. An unreadable list stops nothing, because destroying is never the fail-safe direction; holding is.

5.6GPU rentals

GPU rentals pay a start-up cost before they produce anything. ODIN gives each new rental a grace period to show pool-confirmed shares, releases machines that stay unproductive, and re-bids against rivals only within the rule of Appendix A. Every rental ODIN starts carries a label, and only labelled rentals are ever stopped by the engine.

6Verification

6.1The audit chain

Every create, re-price, cancel and destroy is appended to a log in which record kk stores the hash of record k−1k-1:

Hk=SHA-256(canonical JSON of record k without its own hash, including Hk−1)H_k=\text{SHA-256}\bigl(\text{canonical JSON of record }k\text{ without its own hash, including }H_{k-1}\bigr)
(13)

odin –verify-audit finds the first edited, deleted or reordered line [27, 28, 29]. If the log cannot be written, every market holds.

6.2What the chain proves and what it does not

The chain shows that the log has not been edited since it was written. It does not show that the engine wrote every event, and a host compromised before an event can write a false record. For retention against the operator himself, the log can be shipped to write-once storage.

6.3Signed releases

Windows files are signed with an Authenticode certificate issued to the author by SSL.com after a government-ID check, and every signature is time-stamped. Each release’s checksum list is signed with an Ed25519 key, and odin –upgrade refuses any file whose checksum or signature does not match, test-runs the new build and rolls back if it does not report a clean start [30, 31, 32, 33].

6.4Tests

The engine has more than 500 automated tests. They include replay tests in which a recorded NiceHash book and thousands of mutated copies (wrong types, nulls, the string “NaN”, 1030810^{308}, truncated bodies, outage pages) are fed to every parser, and 24 simulated sessions in which the real binary runs on a controlled clock against a stand-in NiceHash and the money rules are checked on the requests it actually sent. Continuous integration runs the linter with every warning an error, a dependency audit against the RustSec database, a software bill of materials, and a check that no simulation hook is present in a release binary [34]. Rust’s ownership rules remove data races and most memory errors at compile time [35, 36, 37]; the engine uses unsafe only in a few operating-system calls for the console and the single-instance lock, never in trading or accounting code.

7Measured results

All figures are from the author’s own account and equipment, over the dates stated. They describe one operator at small size and are not a forecast.

Table 3. Measured figures, author’s account.

MeasureResultPeriod
Order-book snapshots recorded44,795, about one every 31 seconds17 Nov – 3 Dec 2026
Pool delivery ratio29,815 sats credited against 29,905 modelled: 99.7%Cumulative to 3 Dec 2026
Earlier reading97.9% on 28,860 sats verified1 Dec 2026
NiceHash trading, before fees16,820 sats spent, 17,138 credited: +1.9+1.9%19 Nov – 2 Dec 2026
NiceHash fees3,505 sats (1,000 per order plus 3%)same
NiceHash trading, after fees−15.7-15.7%same
Days in profit before fees9 of 12same

The pricing edge was real and small; at these order sizes the fixed per-order fee removed it. The fee gate of Section 3.9, which requires an order to earn three times its setup fee on recorded books before it opens, was added in response. Every payout, order and rental behind these figures is listed, with transaction links, at asgardhashworks.com/proof.

8Limitations and threats to validity

  • One operator, small size. Every measured figure comes from the author’s account. Results at larger order sizes, where fixed fees matter less, have not been measured.

  • Share luck. Pool credits vary with luck; a delivery ratio over a few weeks has a wide band, which is why the engine filters it rather than fixing it.

  • Snapshot data. Books are polled; nothing is known about the time between polls, and queue position on NiceHash is not modelled.

  • Our own impact. The replay uses books recorded while ODIN was trading, but does not model how others react to its orders.

  • Fee schedules. Proportional and fixed fees are handled; tiered schedules and promotions are not.

  • Venue risk. Funds resting on a venue can be frozen or lost; no model here prices that risk, and caps only bound what is exposed.

  • Advisory models. Several quant-desk models are shown but do not by themselves change orders; whether they would improve results has not been tested under a registered protocol.

  • Host security. A compromised host compromises its keys and its log.

9Status and roadmap

The engine trades live on the author’s account and ships watch-only by default to everyone else. The order of further work follows from the results of Section 7.

  1. Measure results at larger NiceHash order sizes, where the fixed fee weighs less, and publish them on the proof page whatever they show.

  2. Register an evaluation protocol for the advisory models before using them to change orders.

  3. Extend the GPU rental record so every rental’s cost and pool-confirmed output are joined automatically.

  4. Admit further venues only under the same gates and tests, with mining permitted by the venue’s terms.

Appendix A. GPU re-bidding as a Markov decision process

On preemptible GPU markets a rental can be out-bid and lost, and each new rental pays a start-up cost before it produces anything. We model the re-bidding controller as a finite-horizon Markov decision process [26, 38].

State. At decision time tt (about every minute while acquiring and every 20 s while holding), st=(ptown,ptrival,τtheld,W˙t,Pmax⁡(t),ntwar)s_t=(p^{\text{own}}_t,p^{\text{rival}}_t,\tau^{\text{held}}_t,\dot W_t,P_{\max}(t),n^{\text{war}}_t): ODIN’s bid, the highest rival bid, time held, the pool-confirmed share rate over the last 10 minutes, the profitable ceiling and the count of consecutive out-bid events.

Actions. {HOLD,BIDstd,BIDwar,RELEASE}\{\textsf{HOLD},\textsf{BID}_{\text{std}},\textsf{BID}_{\text{war}},\textsf{RELEASE}\}: keep the bid, step above the rival by the standard increment (1% on Clore.ai; a fixed minimum step on Vast.ai), step by the bidding-war increment (6% on Clore.ai once a war is under way), or release the machine.

Reward. With start-up dead time τboot\tau_{\text{boot}} and creation fee FinitF_{\text{init}}, let Cchurn=pownτboot+FinitC_{\text{churn}}=p^{\text{own}}\tau_{\text{boot}}+F_{\text{init}}. Over a step Δt\Delta t the reward is (Pmax⁡−pt+1own)Δt−1{τheld=0}Cchurn(P_{\max}-p^{\text{own}}_{t+1})\Delta t-\mathbb 1\{\tau^{\text{held}}=0\}C_{\text{churn}} while the machine is kept and productive, −pt+1ownΔt-p^{\text{own}}_{t+1}\Delta t while it produces nothing, and zero once released.

Proposition 1 (Threshold rule used by ODIN). ODIN re-bids to ptrival(1+δ)p^{\text{rival}}_t(1+\delta) if and only if

ptrival(1+δ)≤min⁡(Pmax⁡(t)+CchurnE[τrem], Pceiling) ∧ ∫t−10 mintW˙u du>0p^{\text{rival}}_t(1+\delta)\le\min\Bigl(P_{\max}(t)+\frac{C_{\text{churn}}}{\mathbb E[\tau_{\text{rem}}]},\ P_{\text{ceiling}}\Bigr)\ \wedge\ \int_{t-10\,\text{min}}^{t}\dot W_u\,du>0

and releases the machine when no shares are confirmed for the grace period or the minimum feasible bid exceeds PceilingP_{\text{ceiling}}.

Remark. Out-bidding is worth up to the start-up cost spread over the expected remaining profitable time. The rule is a heuristic motivated by the process above, not a proven optimal policy; an optimality result would need assumptions about rival behaviour and eviction that we do not make.

Appendix B. Verification checklist for reviewers

Table 4. How a reviewer can check each claim.

ClaimHow to check it
The package is what was builtCompare every file against SHA256SUMS.txt and verify its Ed25519 signature
The Windows files are from a named personFile properties, Digital Signatures: publisher Steve Chancellor, issued by SSL.com, time-stamped
Nothing listens except HUGINN on loopbackss -ltnp | grep -E ’odin|sleipnir’: expect 127.0.0.1 only
Keys are private to the serviceSettings file owned by root, mode 600, or sealed on Windows
The decision history is uneditedodin –verify-audit odin_audit.jsonl
The dashboard cannot change anythingSend POST, PUT, DELETE or PATCH to any HUGINN route: every one is refused
The results are realasgardhashworks.com/proof lists every payout, order and rental with transaction links

References

  1. [1]Prat, J., & Walter, B. (2021). An equilibrium model of the market for bitcoin mining. Journal of Political Economy, 129(8). doi:10.1086/714445Cited in Section 2.1, 3.1
  2. [2]Pagnotta, E. S. (2022). Decentralizing money: Bitcoin prices and blockchain security. Review of Financial Studies, 35(2). doi:10.1093/rfs/hhaa149Cited in Section 2.1
  3. [3]Bertucci, C., Bertucci, L., Lasry, J.-M., & Lions, P.-L. (2024). A mean field game approach to Bitcoin mining. SIAM Journal on Financial Mathematics. doi:10.1137/23M1617813Cited in Section 2.1
  4. [4]Budish, E. (2025). Trust at scale: the economic limits of cryptocurrencies and blockchains. Quarterly Journal of Economics, 140(1). doi:10.1093/qje/qjae033Cited in Section 2.1
  5. [5]Chatzigiannis, P., Baldimtsi, F., Griva, I., & Li, J. (2022). Diversification across mining pools: optimal mining strategies under PoW. Journal of Cybersecurity, 8(1), tyab027. doi:10.1093/cybsec/tyab027Cited in Section 2.1
  6. [6]Cong, L. W., He, Z., & Li, J. (2021). Decentralized mining in centralized pools. Review of Financial Studies, 34(3). doi:10.1093/rfs/hhaa040Cited in Section 2.1, 3.2
  7. [7]Yang, Z., Wu, Z., Luo, M., Chiang, W.-L., Bhardwaj, R., Kwon, W., Zhuang, S., Luan, F. S., Mittal, G., Shenker, S., & Stoica, I. (2023). SkyPilot: an intercloud broker for sky computing. USENIX NSDI ’23.Cited in Section 2.1
  8. [8]Wu, Z., Chiang, W.-L., Mao, Z., Yang, Z., Friedman, E., Shenker, S., & Stoica, I. (2024). Can’t be late: optimizing spot instance savings under deadlines. USENIX NSDI ’24.Cited in Section 2.1
  9. [9]Zhou, A. C., Lao, J., Ke, Z., Wang, Y., & Mao, R. (2022). FarSpot: optimizing monetary cost for HPC applications in the cloud spot market. IEEE Transactions on Parallel and Distributed Systems. doi:10.1109/TPDS.2021.3134644Cited in Section 2.1
  10. [10]Roughgarden, T., & Shikhelman, C. (2021). Ignore the extra zeroes: variance-optimal mining pools. Financial Cryptography 2021. doi:10.1007/978-3-662-64331-0_12Cited in Section 2.1, 3.2
  11. [11]Can, B., Hougaard, J. L., & Pourpouneh, M. (2022). On reward sharing in blockchain mining pools. Games and Economic Behavior. doi:10.1016/j.geb.2022.10.002Cited in Section 2.1
  12. [12]Noda, S., Okumura, K., & Hashimoto, Y. (2025). An economic analysis of difficulty adjustment algorithms in proof-of-work blockchain systems. International Economic Review. doi:10.1111/iere.70028Cited in Section 2.1, 3.4
  13. [13]Ilie, D. I., Werner, S. M., Stewart, I. D., & Knottenbelt, W. J. (2021). Unstable throughput: when the difficulty algorithm breaks. IEEE ICBC 2021. doi:10.1109/ICBC51069.2021.9461086Cited in Section 2.1
  14. [14]John, K., O’Hara, M., & Saleh, F. (2022). Bitcoin and beyond. Annual Review of Financial Economics, 14. doi:10.1146/annurev-financial-111620-011240Cited in Section 3.1
  15. [15]Kulikova, M. V., & Kulikov, G. Yu. (2022). Estimation of market efficiency process within time-varying autoregressive models by extended Kalman filtering approach. Digital Signal Processing. doi:10.1016/j.dsp.2022.103619Cited in Section 3.3
  16. [16]Gusella, F., & Stockhammer, E. (2021). Testing fundamentalist–momentum trader financial cycles: an empirical analysis via the Kalman filter. Metroeconomica. doi:10.1111/meca.12347Cited in Section 3.3
  17. [17]Guo, D., & Ren, L. (2022). Bitcoin’s latency–security analysis made simple. ACM AFT ’22. doi:10.1145/3558535.3559791Cited in Section 3.4
  18. [18]Xie, L., Zou, S., Xie, Y., & Veeravalli, V. V. (2021). Sequential (quickest) change detection: classical results and new directions. IEEE Journal on Selected Areas in Information Theory, 2(2). doi:10.1109/JSAIT.2021.3072962Cited in Section 3.11, 3.12
  19. [19]Romano, G., Eckley, I. A., Fearnhead, P., & Rigaill, G. (2023). Fast online changepoint detection via functional pruning CUSUM statistics. Journal of Machine Learning Research, 24.Cited in Section 3.11
  20. [20]Kim, K., Park, J. H., Lee, M., & Song, J. W. (2022). Unsupervised change point detection and trend prediction for financial time-series using a new CUSUM-based approach. IEEE Access. doi:10.1109/ACCESS.2022.3162399Cited in Section 3.11
  21. [21]Yu, Y., Padilla, O. H. M., Wang, D., & Rinaldo, A. (2023). A note on online change point detection. Sequential Analysis. doi:10.1080/07474946.2023.2276170Cited in Section 3.12
  22. [22]Gibbs, I., & Candès, E. (2021). Adaptive conformal inference under distribution shift. Advances in Neural Information Processing Systems, 34. doi:10.48550/arXiv.2106.00170Cited in Section 3.13
  23. [23]Angelopoulos, A. N., & Bates, S. (2023). Conformal prediction: a gentle introduction. Foundations and Trends in Machine Learning, 16(4). doi:10.1561/2200000101Cited in Section 3.13, 3.14
  24. [24]Barber, R. F., Candès, E. J., Ramdas, A., & Tibshirani, R. J. (2023). Conformal prediction beyond exchangeability. Annals of Statistics, 51(2). doi:10.1214/23-AOS2276Cited in Section 3.13
  25. [25]Xu, C., & Xie, Y. (2021). Conformal prediction interval for dynamic time-series. Proceedings of ICML, PMLR 139.Cited in Section 3.14
  26. [26]Hambly, B., Xu, R., & Yang, H. (2023). Recent advances in reinforcement learning in finance. Mathematical Finance, 33(3), 437–503. doi:10.1111/mafi.12382Cited in Section 3.17, 9
  27. [27]Soriano, E., & Guardiola-Múzquiz, G. (2021). SealFS: storage-based tamper-evident logging. Computers & Security, 108. doi:10.1016/j.cose.2021.102325Cited in Section 6.1
  28. [28]Guardiola-Múzquiz, G., & Soriano, E. (2023). SealFSv2: combining storage-based and ratcheting for tamper-evident logging. International Journal of Information Security. doi:10.1007/s10207-022-00643-1Cited in Section 6.1
  29. [29]Hu, Y., Hooshmand, K., Kalidhindi, H., Yang, S. J., & Popa, R. A. (2021). Merkle2: a low-latency transparency log system. IEEE S&P 2021. doi:10.1109/SP40001.2021.00088Cited in Section 6.1
  30. [30]Newman, Z., Meyers, J. S., & Torres-Arias, S. (2022). Sigstore: software signing for everybody. ACM CCS ’22. doi:10.1145/3548606.3560596Cited in Section 6.3
  31. [31]Schorlemmer, T. R., Kalu, K. G., Chigges, L., Ko, K. M., Abu Ishgair, E., Bagchi, S., Torres-Arias, S., & Davis, J. C. (2024). Signing in four public software package registries. IEEE S&P 2024, 1160–1178. doi:10.1109/SP54263.2024.00215Cited in Section 6.3
  32. [32]Ladisa, P., Plate, H., Martinez, M., & Barais, O. (2023). SoK: taxonomy of attacks on open-source software supply chains. IEEE S&P 2023. doi:10.1109/SP46215.2023.10179304Cited in Section 6.3
  33. [33]Okafor, C., Schorlemmer, T. R., Torres-Arias, S., & Davis, J. C. (2022). SoK: analysis of software supply chain security by establishing secure design properties. ACM SCORED ’22. doi:10.1145/3560835.3564556Cited in Section 6.3
  34. [34]Zahan, N., Kanakiya, P., Hambleton, B., Shohan, S., & Williams, L. (2023). OpenSSF Scorecard: on the path toward ecosystem-wide automated security metrics. IEEE Security & Privacy, 21(6), 76–88. doi:10.1109/MSEC.2023.3279773Cited in Section 6.4
  35. [35]Xu, H., Chen, Z., Sun, M., Zhou, Y., & Lyu, M. R. (2021). Memory-safety challenge considered solved? An in-depth study with all Rust CVEs. ACM Transactions on Software Engineering and Methodology, 31(1). doi:10.1145/3466642Cited in Section 6.4
  36. [36]Fulton, K. R., Chan, A., Votipka, D., Hicks, M., & Mazurek, M. L. (2021). Benefits and drawbacks of adopting a secure programming language: Rust as a case study. SOUPS 2021, 597–616.Cited in Section 6.4
  37. [37]Zhu, S., Zhang, Z., Qin, B., Xiong, A., & Song, L. (2022). Learning and programming challenges of Rust: a mixed-methods study. ICSE ’22. doi:10.1145/3510003.3510164Cited in Section 6.4
  38. [38]Naghdehforoushha, M., Dehghan Takht Fooladi, M., Rezvani, M. H., & Gilanian Sadeghi, M. M. (2021). BLMDP: a new bi-level Markov decision process approach to joint bidding and task-scheduling in cloud spot market. Turkish Journal of Electrical Engineering and Computer Sciences. doi:10.55730/1300-0632.3857Cited in Section 9