
Warthog is a cryptocurrency which utilizes Proof of Balanced Work - the world's 1st algorithm using PoBW concept. 🐗 # modern codebase, open source, PoBW
Blockchain
Joined October 2023
- Tweets1.2K
- Following33
- Followers1.9K
- Likes17.6K
Pinned Tweet
Hello!
‼️ On 26th November Warthog experienced a visible hashrate jump, it seemed that some entity first mined on veruscoin and then came to Warthog.
🤔 Unfortunately we were not able to apply this kind of attack to Warthog because Warthog's header and Janushash design is different from Veruscoin's. This means that the hashrate jump cannot be explained by the exploit in Verushash v2.2 that we found. 😶🌫️
1
1
145
❄️ Good day! ☃️
🔹Warthog has a unique and complicated mechanism which allows parallel download and requests based on height instead of hash.
👉 I am currently overhauling the download logic of blocks (both, headers and block bodies). 🛠️
🔹This more efficient than implementations in other crypto projects and this complicated logic is currently improved.
🔹AI has also provided several potential bugs and while not all of them are real issues, I am carefully checking them right now.
1
5
232
✍️ Also adding a lot of comments for future reference while going through Warthog's advanced and complicated download logic. See screenshot.
Shifu - Warthog #DeFi developer
6
135
🐗 WarthogDeFi Development I. ⚙️
1⃣ Architectural planning process was time-consuming, demanding meticulous attention to detail and extensive coordination.
2⃣ Now, with a quiet sigh of relief, I’ve returned to the steady, satisfying rhythm of implementation, where progress feels tangible again.
Shifu - Warthog #Defi developer
Created a [new repository](github.com/warthog-network/f…) for the Fair Batch Matching (FBM) algo that is part of our DeFi branch code. It allows our revolutionary MEV-proof approach to DeFi to gain traction as more devs can approach our algo easily as a standalone working repository.
2
Hi!
🔷 Pushed an update for the TUI wallet that introduces support for non-hardcoded wallets. Error output was improved also.
🔷 It's now integrated into the DeFi codebase, but not polished. Might release it on testnet (as is) to conduct testing.
Follow @warthognetwork 👈
1
Hi! 😎
🌐 Published a new article on how Warthog solves DeFi’s Sandwich problem using my Fair Batch Matching engine.
🛡️ In the article, I break down the mechanics and show how it delivers fairer, more secure trading for everyone.
Check it out:
warthog.network/articles/how…
Shifu
1
🐗 WarthogDeFi DEVELOPMENT XIV. 🏗️
More about my coding philosophy:
🔷 I decided to implement the mempool code strictly. I call it strict when the mempool is always in sync with what can be included in the next block.
🔹 A non-strict approach would allow invalid transactions in the mempool, which we simply exclude during mining. The strict approach is much cleaner but harder to implement.
👉 For example, when switching to a longer chain, this typically involves a rollback. Afterward, some assets created in the previous chain may no longer exist. In that case, we must remove from the mempool all transactions that attempt to send this now non-existent asset or interact with it (such as adding liquidity or performing swaps).
🧭 The DeFi testnet draws nearer with every breath, every commit, every quiet victory in the dark. I won’t tether hope to a careless date - that has never been my way - but know this: it now gleams unmistakably on the horizon, closer than ever before. 🫡
Shifu, dev
2
🐗 WarthogDeFi DEVELOPMENT XIII. 🏗️
📸 Screenshot of the assets table. I hope it looks good. 🙂
🗃️ My Warthog DeFi data table design:
Sometimes it adds new assets, sometimes it crashes. You can also see that I allow multiple assets with the same name ("TOK2" in this example). You also see I have four entries without name, I should disable the possibility to have empty asset name "".
✨ The precision can be arbitrary, precision is the number of fraction digits, for example it is 8 for WART.
👉 In this example I have used precision 3, let me elaborate further:
1⃣ With low precision, we can therefore have more digits before the decimal point. This way we can emulate the crazy high supply of scam tokens. Because we have 20 digits in total I think. One can also set the total supply.
2⃣ You can also see that I have parent_id in the table for recursive lookup. This means that I already have laid the foundation for copy-on-write mechanism which will allow token fork.
3⃣ When someone looks up his balance the algorithm will recursively look up parent token balances until it finds an entry. This allows that token balances are cloned.
4⃣ The cloned child token will have the same balance as the parent token until someone changes a balance, then another entry must be written into the database because at this points the copy-on-write triggers and we cannot just show the original balance at fork time.
🔥 This database architecture and underlying design is completely new. I hope it will give Warthog a substantial tech advantage over other projects in the DeFi platform domain. 💥
Shifu, developer
1
🚧 WarthogDeFi DEVELOPMENT XII. ⚙️
📚 Warthog's docs are evolving from notes to a great guide, piecing together PoBW's fair mining magic and DeFi plans, where every click unlocks new knowledge. Shifu's hand is steady; the herd's wisdom is growing.
💠 We have finished the API specification for submitting new transactions to the node segment in docs. Devs have decided to use a single endpoint that accepts different transaction types instead of one per type, to keep things clean.
🆕 Shifu added the API segment for different transaction types in the docs. It describes each required parameter, what they do, and what to watch out for.
🔹 Check it out:
docs.warthog.network/develop…
2
🐗 WarthogDeFi DEVELOPMENT XI. 🏗️
Shifu, dev:
- Real quick, there’s just one more piece of the puzzle:
🧮 In normal order books, when you submit a sell order, it will freeze exactly the amount of base (in the sense of base, i.e. the coin that the market is about and quote, i.e. the unit for the price) coins because that is what you are spending on the order. 🧾
💸 However in a normal order book, when you submit a buy order, you specify how many base coins you want to buy and in a limit order it is not clear how many quote coins you will need to pay. If the fill price is exactly your limit, you pay maximal amount of quote coins but if the price is better you would pay less. 💰
↔️ In contrast in WART, the orders are always swap orders, i.e. you always specify how much you want to spend. For sell orders, this is the same as in normal order books but for buy orders, you now know exactly what you will spend in quote coins and the base amount is depending on your actual fill price. 🪙
🫴 This means that when an order is completely filled, in WART's order model, it will use the complete amount that was frozen for creating the order.
💡 So I don't have to implement logic to credit quote coins (in traditional order books I would need to compute the actual amount of quote coins used to buy the specified base coins in the buy order). 🧮
🚫 So the only point where I have to touch the balance again, i.e. credit coins is when an order is canceled without being completely filled. ✍️
That's it for today! 👋
2
WARTHOG
🔸 Fair launch cryptocurrency
🔸 Years of support and dedication
🔸 100% of supply is publicly mineable
🔸 Written from scratch
🔸 Original and unique codebase
🔸 Active development
🔗 warthog.network/






