Repository navigation
dev call 20261123
Ryan: All right. Hello, world. Welcome back to another Mujina Development Call, where we cover the last two weeks in development as a supplement to our normal communication channels, which is mostly in writing. On GitHub or on the forum or Telegram I will jump right in so this last Losing track of time. Last Thursday, I spoke about Mujina and 256 and mining in general at the Chicago Bitcoin Hub, the new Chicago Bitcoin Collective. Dimi was there. We had a good time. We talked mining for a couple hours and had some steak that I brought the sous vide miner out again. Speaking of that sous vide miner, Every time I cart it out now, I wish I had some time to work on some nice 3D printed trays for the EmberOne boards. Each EmberOne along with its heatsink could be in its own rack unit or two, whatever it would take. So if anybody ever wants to play with that, help me package that thing up nicer. That would be cool. I just haven't had time to mess with it. So did somebody raise a hand? Maybe not. Dimi had his hand up.
Dimi: Accident. Sorry. Fuck Jitsi.
Ryan: Yeah Jitsi you can say your emojis out loud too we can clap there are some upcoming events they're far out but I thought I'd talk about them anyway the Telehash will be in January and we're going to have a whole 256 Foundation day ahead of the Nashville Energy and Mining Summit. So that might be a good chance for people to meet in person if you want to travel to Nashville. Also, Tyler, did I see right that you were thinking maybe during the Telehash we could have people sort of demo things they've built? Maybe we record some short videos and play them or something. Do you want to invite people to that?
Tyler: Yeah, can you hear me?
Ryan: Yes.
Tyler: That's right. So the Telehash this year, on Thursday the 21st, I believe is the date, will be more curated in the sense that instead of us just... Having the 256 team talking about our projects that you all on this call know at length now for eight hours or so, it kind of has turned into a precursor day to the Nashville Energy and Mining Summit focused on more of open source mining. I think that definitely includes the home-focused miners, the tinkerers, the builders themselves, but it's open to larger institutional operators as well. So if you have something you want to showcase, like I know that what Aadhi and Andy have been working on with the Canaan and the Avalon support comes to mind or, or anything at all, really just reach out to one of us and you'll get pointed my way because we're, we're in the process, early process. It's not really dialed in of organizing how we're going to go about that day. So I'd love to have, you know, 15, 20, 30 minute sessions with some breaks and some different people featured on stage that come up and talk about what they're building and yeah. So please reach out.
Ryan: That would be very cool. Also, there's the Heatpunk Summit, of course, in February in Denver. I'm sure we'll do lots of 256 stuff there that would be also be a good place for people to meet up in person and hack on stuff
Tyler: Yeah I'm signing all the 256 guys up for workshops whether they like it or not so if you want to come perhaps learn how to flash Mujina onto a new miner maybe Ryan just some tips for those people in the room or I know Skot's on here I was thinking maybe we could do one where we start vibe coding some PCB boards, PCB layouts. That'd be a fun workshop or things like that. So any ideas come to mind or anyone's interested in that event, also reach out to me.
Ryan: That would be cool also. And I'm also hearing rumblings. That there will be a Bitcoin++ right ahead of the big Bitcoin conference in Nashville in July. And that Nifty wants to have a big mining track as a part of that. So don't know all the details of what that looks like yet, but that will be an opportunity to do things in person. Maybe even the hackathon will be focused on mining stuff and people could show off things and even give talks there. So that anyway, just some things to put on your calendar for the future.
Ryan: Okay, next thing on the agenda, I keep meaning to bring this up. There was a really good talk at Bitcoin++ Nairobi, the Bitcoin++ open source edition, the lead opening talk by Fabian on contributing to open source. And he sort of made this Batman and Robin and we're all in the Batcave analogy. I highly recommend watching that talk. It's only like 20 or 30 minutes. I put a link there to the YouTube video. But Fabian has a lot of experience in open source and Bitcoin open source in particular and as a maintainer. And he just gave a really good talk about being a contributor to an open source project. So that's worth a watch. There were a couple other good talks there. Maybe I'll bring those up in the future and link to them in future calls that were kind of on this meta topic of being a contributor and a maintainer.
Ryan: And yeah, lastly, my focus remains on getting these images done Jungly. It's the last 5% that takes 80% of the time or whatever. But I really am hopeful that between this call and the next call, I'll have something out for us to play with, which would be really fun. I will coordinate such announcements through Tyler for proper PR bang for the buck.
Ryan: Okay, on to real topics. So I wanted to point out a post I just made in the forum where there was a good discussion on I forget what it was titled. Let me link, let me follow the link. Okay, this is my post, but Karpuzmining posted, that's Ryan Blass, is that right? Trying to resolve that name. Post about the work people are doing on the Canaan machine and this got into sort of a discussion on derivatives from Mujina and terminology and big picture and stuff like that. So I spent some time, I just posted this like an hour ago, so I don't expect anyone has seen it yet, but this is worth a read if you want my take, just one take, but my take on sort of terminology, the way all these forks of Mujina and stuff sort of fit into the big picture and how we might get some of this back into mainline Mujina. Sort of a distinction between what's Mujina and what isn't Mujina. So anyway, take a read at this. I'd love to have everyone react if you've got thoughts on what I said here. So that's linked to in the discussion notes or the agenda notes here. In its own section. So Tyler, you'll probably especially be interested in that since I was sort of responding to your, you had a good post on terminology and I just tried to follow up with some more of my thoughts to clarify.
Ryan: We have a number of PRs. Like I said, I've been focusing pretty hard on this OS image. I think that's on the critical path to enabling our community to rally around something. So I've focused pretty hard on that, despite there being a lot of other open things I could be reviewing or merging. I did merge some things here listed at the bottom. I don't know if any of them are important enough to point out. A lot of them are small fixes pointed out. Either things I ran into or things that other people have pointed out and issues. And then a number of things that are still waiting I just listen them here and make you know that I'm aware of them it's just a matter of time getting to things at the moment other people are very welcome to review and or test this stuff out that would be helpful And then there were a couple of new PRs this week. Simon contributed that diode calibration fix we talked about last week. That's awesome. And then also Sean brought back the Windows PR this morning, I think. Thank you for doing that. I will get to that soon. Is there anything in the category of PRs anyone wants to bring up or talk about, ask? All right. Issues and discussions to point out. There was a small supply chain advisory. It doesn't affect us. So per sort of the usual process, we will wait for our supply chain cooldown period before upgrading the version of this dependency that we use. If it were something where the bug in the advisory might actually affect us, we might make an immediate patch. But if it doesn't affect us, then we're just not upgrading too quickly. We've talked about that before.
Ryan: There's a new discussion I posted here. Since Jungly's here, I will bring this up. Just to record a conversation Jungly and I had about coinbase outputs, which is of great concern to P2Pool v2. We probably talked about this a long time ago, but one of the big complaints about factory firmware, especially from Bitmain. I don't know the details on all of them, but stuff from Bitmain limits quite a bit the number of coinbase outputs that you can mine with to something like on the order of 25 or 30. And obviously that's a problem for those of us that want to have, you know, these trustless pools where you pay out to a whole bunch of miners. So from the get-go, I was sort of careful in our Stratum V1 client implementation to not overly limit the coinbase in the same way. So currently, we could probably fit approximately 1,000 outputs in coinbase in Mujina if the pool gave us that large of a job. But talking to Jungly about this, we kind of just kicked this around for a while, you know, like, can we make the limit higher? And then eventually just got to the extreme of why are we limiting this at all in Mujina beyond what consensus does? So I post this here for people to render opinions, really the cost to us if we allow, you know, something crazy like filling the entire block with your coinbase transaction is that there are some memory buffers that would be rather large that we just Don't have to worry about that happening today. So we might have small issues, especially on some of these memory-constrained devices that we run on. Like LibreBoard is going to be fine, but something like the control board on an S19 only has 256 meg of RAM. And we've talked about doing alternate control boards that only have 128 megabytes of RAM. It might become a concern in some cases in the weird events that a pool is actually filling a whole block with. So, like, that memory concern is really the only real thing. And perhaps if it's an issue, we have a configuration knob where you can lower the limit voluntarily if you have an issue on your platform or something. But anyway. Jungly, do you want to tell us what's new in the P2Pool v2 world and testnet and why we should care and why you care about coinbase outputs?
Jungly: Yeah no thanks Ryan I mean the only reason we care for the coinbase output is because that's what killed P2Pool the original right and we don't want to
Ryan: I don't I don't know that history I would love a history lesson
Jungly: Yeah so they were basically at some point paying out 553 miners if I remember the number correctly from coinbase they were like that big and at that point if you correlate the pool's hash rate from Bitcoin's hash rate they were up to like three percent of the network hash rate
Ryan: Wow what year was this
Jungly: This would be 2016-ish right or maybe 15 I don't remember actually to be honest but these are this is basically as I pulled things out of Bitcointalk right so the coinbase outputs you can check from the blockchain but then to find out what kind of hash it people were reporting you just have there's no historical records right so you just have to take it what people are approximately saying on Bitcointalk so it's very you know it's not very sound information but that's the best guess we have And then around that month, then you say, okay, what was happening on Bitcoin? And then you say, okay, this is the percentage. That's why it's just a very wild guess. So but then what happened was that's when the new forms started to appear from where from and who that's the story I've heard I haven't factually cross-referenced it which started to put the limits and you had a great observation as to why they put the limit there right people have been speculating that it was malicious but I think your conclusion was very different I mean, I think people over here would love to hear how you reached that conclusion. I didn't really follow completely your logic. You were saying it was just a number they pulled out of the hat. They were just lazy.
Ryan: Yeah, it's hard. And maybe someone like Skot has more information on this, too. Or anybody, really. It's sort of hard to say. What I did was point... Decompiler at the couple Bitmain firmwares I have here and explored it together with AI, of course. And it's possible that it's just a sort of arbitrary choice that they made when they were implementing. Because the way Bitmain's firmware works, the way other firmwares probably work too, is that They sort of have a fork of cgminer and then they hack some IPC channels into it and then communicate with like another process outside of cgminer that actually talks to their ASIC chips and does the mining. So rather than like... I don't know all the reasons. I can't imagine why... You do it that way, but let's say you're basically turning cgminer into a client, a stratum client, and then before you let it, rather than writing a driver within cgminer or writing your own client for your own software, they sort of ended up with these two pieces, right? They're bastardly, in a hacked way, reusing cgminer, but communicating to their mining process And the things that they pass back and forth on that IPC between those two processes, some of it is this coinbase, the way they break down the work and pass it between the two processes. And so someone had to pick... You know, a buffer size for that IPC, and that seems to be what limits... That seems to be the choke point in their software that limits those coinbase outputs. Now, maybe if you were writing something and it was all in one process in memory and you weren't doing this IPC, you wouldn't have... You wouldn't have needed to create a buffer. You could have just passed stuff around and pointed at memory and then we wouldn't have ended up in this. I mean, there would probably be a bottleneck somewhere else. But certainly the small bottleneck just sort of appears to be like well, I wanted to make a 4K buffer for passing IPC between these two processes. So it could just be tech debt, like a tech choice like that.
Jungly: It sounds like somebody was copy pasting stuff from Stack Overflow and that was the size there.
Ryan: I don't know. Does anyone else have any more? Skot, do you have any more insight on why the coinbase limit in that firmware is on the order of 30?
Skot: Yeah, I think you're exactly right in that they just didn't even consider it and probably just randomly added something. I have seen some, there's a guy, he runs a pool and he was actually doing some testing on Bitmain firmware. And I believe he said that he was able to get Something like 1000 outputs in the coinbase. So I don't know if that like small number that I think came from Ocean in the past. The Bitmain supports has been fixed or if this guy's I haven't tested it myself, but 1,000 outputs was significantly better than ESP-Miner could support. So we've been doing some work. Mutatrum's been doing some work on increasing that number in ESP-Miner. He actually had some, because the ESP-Miner on the ESP32 has like eight megabytes of RAM. So we're very constrained there. And he had some very interesting ideas about sort of streaming that in, which maybe might be worth taking a look at for adding this into Mujina, because we wanted to get, you know, much closer to that 30 000 outputs but yeah I mean it's just I'm sure the reason why it was done is because they just weren't thinking about it and it's like oh well no no pools add more than you know a couple outputs so this will be fine and it works on right every pool aka amp pool that we tested it on I saw a little bit of variation from firmware version to firmware version
Ryan: So maybe this 1000, if it's true, is some version that, you know, for some random device that is not very popular or something. I don't know. Best I could tell, S19s and S21s, the S21 has actually a slightly different, a slightly larger buffer, you know, but only like maybe 50% at most. So I could believe that it varies from miner to miner.
Dimi: I know Dusty wants to do the Omega splice where it's one coinbase. And then that's the whole block because it's everything is like, spliced together. So you might actually run into a circumstance where someone's designing for one transaction and it's massive.
Ryan: What does that even mean? What would that even mean?
Dimi: His Omega Splice thing, just go look up on his page what he's talking about. He's been working on splicing for the Lightning Network, and now he wants coinbase transactions to splice the transactions submitted, something funky like that. I don't remember the specifics, but I recall it just being one massive coinbase transaction. Like you described earlier. So I just wanted to chime in on that.
Skot: You know, if you're mining to your own node with a series of smaller miners, you can do header-only mining, and then this problem just goes away. Yeah.
Ryan: Yeah.
Jungly: But isn't that SV2 only, or can you do that with SV1 as well?
Skot: I think it's SV2 only right now.
Jungly: SV2 only, isn't it? Yeah, of course.
Ronald: Yeah. Yeah. Yeah. It's SV2 and DATUM only, right? That was like the big thing Ocean had to work around was it was like introduced with S19s, right? Or maybe it was S9, where they shrunk the max coinbase to like 750 bytes or something, right? And I'm trying to remember, I was actually trying to use Claude to help me remember when they introduced it. I feel like it was the S9 though, and they shrunk it and it killed P2Pool. And I'm trying to remember why, because we don't have that problem with like MicroBT or other miners. Right. Yeah it's only Antminers is it an ASICBoost byproduct or some it might have been I thought it preceded ASICBoost but it's my understanding but only from Claude's not helping at all but anyway I'd have to do some research that's something though that like we should have preserved as like a piece of Bitcoin mining history is like not just ASICBoost, but like that was like a big deal, killing off P2Pool because it wouldn't work on modern Bitmain hardware. And that the guys in this room, including myself, who was there at the time, can't remember and it's not documented well. It's like a gap kind of, right? I'm personally frustrated because I remember working in this space and it was frustrating. I don't remember what the details were now.
Ryan: Yeah, maybe back to your story, Jungly. So... However it happens, technically, you're saying P2Pool was thriving and then you kind of died off because of this coinbase size issue.
Jungly: Yeah, to the point that people, as Reckless is saying as well, that it seemed as intentional, though it probably wasn't. But you know how we like to think that everybody's out to get us.
Sean: Mm-hmm.
Ronald: Talking about incompetence and malicious behavior, right?
Ryan: Exactly, yeah.
Ronald: Although, I don't know if that means incompetent in anything.
Ryan: So what are you doing right now in P2Pool v2? How do you work around this or what are you limited by?
Jungly: Well, so the limitation, this was one of the big motivations for when we do P2Pool reboot, how do we get past this coinbase limitation? And the only solution that seemed the most sensible was, okay, we let people... Mine shares on the share chain as the original P2Pool but we stick in the Bitcoin script based transaction engine and then with that once you have a coinbase output on the share chain which kind of correlates to that share the ownership of that share then you can trade the share around right and then you can basically do an atomic swap between a share chain coin don't call it that but a share and Bitcoin right so somebody buys them off you and there's enough buyers who fit into like that limit of 10 15 16 whatever is the coinbase limit they get paid out in the coinbase they take the risk and we end up kind of in a hash rate market situation So all that work has to be kind of done for mainnet. So testnet five is doesn't have that right now. So, and our coinbase has become quite big actually. The last I checked was, it was over 20 already. So at some point, some of the Bitmain miners will stop working on testnet five, which is fine. We have some solution proposed. We probably tried to shape it for testnet five, which is just like a stopgap solution. But we're not in a rush to push it out at the moment.
Ryan: So are you putting a limit on it now? Or is it just going to break miners when it gets larger?
Jungly: Yeah so there's two options here right okay let let it break for some of the Antminers, YOLO right because a lot of our miners are anyway Bitaxes and it's fine right it's testnet and the other opinion is that okay we put a limit now and what we do is we do a raffle of the long tail of miners so we give the 10 outputs to the 10 largest miners right and the rest whatever five randomly chosen rest of the miners by randomly it would be slightly more convoluted it's it's a bit like weighted by the number of shares they have right so eventually everybody gets a fair amount of amount of payouts as long as we're finding 10 20 blocks a day everybody will get some payouts every day it's fine it's just that you know but that is not going to fly on mainnet nobody's going to like that on mainnet so yeah we have to start building towards that trading solution we have the transaction layer on on the share chain but underestimated how much effort it would be required to build the wallets The, but thankfully we have contributors. We have people who are interested in doing this, but building wallets is hard.
Ryan: How promising do you feel these Ark-based ideas are?
Jungly: So without covenants, they would all be custodial. I'm talking to Steven Roose. He's very much engaged with P2Pool because he likes it. And we're basically talking about if we can have an Ark-based payout system. And he has a solution in his head. The problem is that without a covenant, it would be custodial. You'd be taking all the coinbase outputs and then sticking them into one Ark service provider. So you'll get your VTXOs on an ASP, right? Which is custodial in a way, right? You have the exits, but they are sitting somewhere else. Right? So, and it comes with all the pros and cons of Ark. But I think it's worthwhile building it. Just because it is a latch. And the way I think about P2Pools, or I don't want to hog this call with P2Pool, the idea that we provide some tools, and who knows what people will build with it, right? And that would be the dream. Other people will innovate the payout systems. I mean, we'll have one or two that we like. Anyway, let's stop talking about P2Pool. Let's go back to Mujina. Give us S19, S21.
Ryan: No, I was very interested in hearing about that. I mean, obviously, this is a massive part of opening mining and distributing mining is solving the pool problems, including the payout problem.
Jungly: Yeah. Yeah. I mean, the way it got back to Mujina was if you think about it, right, we were saying, okay, we, it should be incentivized that people run firmware that allows larger coinbases and you know, they get an extra bonus. So we encourage that. But then the one who proposed it, I was like, but there is no open source say, what about the 256 Foundation? I was like, it's not ready yet. I was like, okay, well,
Ryan: You will have good news very soon.
Jungly: Yeah, yeah.
Ryan: Yeah, well, I guess in the same vein of something you just said about building the tools and seeing what happens, I guess that's the thought with this, to take it back to this issue. Your and my thought was why limit the number of payouts if we don't have to? So I don't know what people will do with 30,000 payouts. 30,000 outputs if Mujina has that capability. But let's give them the tool.
Jungly: Yeah, I totally agree with that kind of mindset. But weren't you saying that maybe people who want to build the binaries for different hardwares could choose that number then?
Ryan: Yeah.
Jungly: Yeah.
Ryan: Yeah. Yeah. Just sort of by default, we won't like the limit I have in there right now is sort of arbitrary. Just cause we need a limit, on how large of a stratum message we accept so that, you know, you gotta cut it off somewhere. If, if you think the pool is rambling to you or you're just receiving noise or something, but, We might as well make the limit a consensus limit and not something arbitrary. But yes, if that consumes too much memory for some platforms, then we'll have a dial so that that limit could be lowered. Yeah. All right. So yeah, comments are open on that discussion.
Skot: I was just going to say, real quick, I looked at it. It's solopool.com. This guy named Sledge, he apparently tested various different firmwares to see how many outputs they could handle in the coinbase before they crap out. His testing Bitaxe could do 110. The Apollo FutureBit could do 30. The Nano 3S could do 700. Bitmain, Luxor, and Braiins could all do 1,800.
Jungly: Bitmain? Which, really, the latest ones?
Skot: Yeah.
Jungly: Do you have a link for that?
Skot: This was in messages that I had with him, but I could get him to post more of that methodology.
Ronald: I think that's only on stuff like S21, right? Like change something.
Skot: Probably. I mean, S21 is still like over a year old at this point.
Ronald: Yeah. Yeah.
Ryan: I could believe that from like the very latest from Bitmain. But certainly older versions have these limits.
Ronald: So if you look at the DATUM source, they've got a workarounds file. And it tells them, it documents which workarounds they implement for which mining platforms. So we could kind of glean from how at least they approached it. Maybe even ask Jason where he got that information from. Was it trial and error and testing? Or is there somewhere documented? But he has like hard caps for,
Ryan: Yeah, I looked, I looked at their source and then I tried to prove like why I look right. Bitmain firmware. And like I say, that's what I, what I came to on the versions I looked to, like that I care about most S19. It came down to this buffer limit buffer size between the two processes.
Ronald: Yeah. I think S19 was like the worst, vendor, like all of them, they had really small limits.
Ryan: All right. Let's see. We've got some time left. There's been a ton of activity on Telegram these last two weeks. And I think a lot of people are here. So why don't I just give people a few minutes to talk about the stuff they've been doing. Sean, you want to go first?
Sean: Sure. A couple of updates here. We did a couple of releases. So 5.0.5 and 5.1 for the Nano, just been grinding away at that. That had a lot of stability for installs. And it seems people are picking that up pretty good, which is nice to see. I think you put it in here, the NerdQAxe. So initially I wanted to get that working in the hosted mode. So right now I have my Windows machine running Mujina, and then that connects through a USB hub that has two Bitaxe Gammas. And then it also supported the NerdQAxe++, so I figured I'd extend it to the QX as well since my NerdQAxe++ blew a VREG. And... We're fixing that right now. And I got that working and hosted, and I was like, well, somebody asked online, when can we get Mujina on a NerdQAxe? And I was like, okay, well, it shouldn't be that hard to port this over to get it running in the embedded mode. So I just cranked away at that, got that working. It works pretty well. I really wanted to see how... Autotune would work on it because it works good on the Bitaxe Gamma on the BM1370s we did a lot of work to get that working on the Nano 3S I want to see okay now that I've got four chips for the QX and I know I've got one lazy chip on my NerdQAxe++ when I get that back to see how it would auto tune with that one so I've been messing around with that I had some issues with the fans I think I have a hardware failure on my board I gotta take a look at and see but overall that's working pretty good too so I think the biggest change with 5.2 is adding the sounds the music to it so I figured I'll sit there messing with the buttons and I was like man this thing's got a little speaker in it can I make it play you some music and so I put some themes on there, talked to the kids. They wanted Super Mario on there, so I added that. And it was just something off to the side I did. It was pretty funny. And so now I can just play some music while you're in the background there. Also for if you're new, high difficulty, and then if you find a block as well. But yeah, and that's the big ones. I got 5.3 working right now. I got Skot's PR for the new boot screen. So we can get rid of the Avalon logo off of it now. And it's got the Mujina one. So that one's good. I just tested that on my one machine. I got to do that on my disassembled one. See if that works. Those little screens are so good. Oh, they're great. I mean, the animations you can do on them is good. The refresh rate's nice. So I was trying to do that on the LilyGo on the QX, and the LilyGo just can't keep up with that little round screen. But yeah, you can do a lot with those circle screens there on the Nano, which is nice. That's why I was like, let's put some animations in here and see what else we can come up with on it. And then this whole...
Ronald: I have to say, your inspiration for those animations was awesome.
Sean: Thanks, yeah. It's cool. Using Gemini Video Nano Banana, it's been really good to just visualize out how this thing would work, and it just makes the video, and it's just like, all right, we'll put the video on there and decompress it and put it on there and see if it runs, and it comes out beautiful. It's crazy. It's dope.
Ryan: And the last thing you're doing is the Linux SDK from Canaan, right?
Sean: Oh, yeah. I didn't even mention that. Ryan's got his updates. He forked off of ours, and he's going to put some PRs up. I haven't seen them yet, but I already started doing some work on there, and I've already seen some decent results in the auto-tuning. It's been able to get, obviously, better on-chip temperatures and readings from it with that information on there, so the auto-tuner is able to do a bit more on the max hash and then the profile, not the profile, but the target modes. So you can target a set wattage or target a set terahash level. So I wonder what like Braiins does with theirs. That seems to be cranking away. There's still some issues I'm seeing with it right now with the autotuner just sort of backing off because It's still sticking to how BM1370s like to be at 60C and these chips like to be at like 90C to get the max efficiency out of them. So it's sort of counterintuitive when you're trying to cool this thing because I've got like two Arctic P8s on it cooling it and it's cooling it too much. So... But I switched out the power supply to a 200-watt Mean Well. That seems to be helping a lot too. So some more testing on that one. But yeah, pretty fun stuff so far. Seems to be getting some other people have been installing it as well.
Ryan: Well, that's fun. Eager for your take on that post I referenced on the forum about terminology and derivatives and everything else.
Sean: Yeah, I'll take a look. I know Ryan made the comment, and I had some side conversations to try to help understand. And I think the analogy with Linux is probably the best. And I was trying to explain it to my brother as well. He didn't understand what that meant. I was like, yeah, you have the base Linux kernel, and then you have these different flavors off of that that do different things and optimize for different things. And so as long as I'm keeping up to date with main and rebasing, I've been doing that. I have a weekly thing set up on my clanker to check to make sure I'm keeping with you guys on the changes you're making. Like I said, the next big step for us is going to be looking at the S19 Slims and getting that working with those images that you got and then expanding out to other models that we have as well, just to kind of see what we can do with that. So I think it's good. I think, you know, we're starting to see some more, more traction with, with folks. I think that with the Nano 3Ss, cause those sold so well and they're good with the home mining group that it's people are starting to see, oh, I can probably do X, Y and Z and I can customize it or, you know, this looks better and it works better than the basic app from Canaan.
Ryan: So I'm a little lazy and haven't looked at their SDK yet, but is it any different architecturally than what we found before in terms of, you know, they have they have either a bare metal or RTOS cores or separate processors or something that are doing a lot of the work and then that communicates with Linux? Or do they actually drive the ASIC chips pretty much from the Linux processor?
Skot: I've done a little bit of looking into this. Sean, maybe you have too. One of the biggest things that I noticed is that with the Linux SDK, they are no longer driving the ASIC chain from the RTOS core. They used to be. With the firmware that they're shipping, the ASIC chain was driven from the separate RTOS core in their K230 processor. And it seems like they're not doing that anymore. So that's a pretty big change. I heard a rumor that this Linux SDK is like a ground-up rewrite. So... They have just totally changed it. So it is, I think, important to the people who care about this stuff to know that Linux SDK is not the source of the firmware that they're currently shipping. It appears to be changed and possibly completely rewritten.
Ryan: Okay, cool. Well, if that architecture works, that's makes it even simpler to integrate into mainline Mujina someday. Not that we couldn't do it the other way, too. But certainly simpler, the more that's not delegated out to other cores like that.
Skot: Yeah, yeah. I mean, from what I can tell, this does seem to be much, much simpler.
Ronald: Yeah, I had issues with like splitting results. To the main ASIC and it wasn't working before and Claude was like well there's like this intermediary that's chunking things so I have to make sure everything fits inside like a thousand bytes or whatever
Ryan: Okay cool well it's fun to see all the stuff you're doing Sean And sort of at the end of the post I keep referring to, I sort of explained. I think it will become clearer and easier for us to bring some of these things back toward mainline or make more contributions to mainline after we have the S19 versions out. So
Sean: I'm looking forward to that. So you'd want us to hold off on doing the Canaan stuff and pushing that in as PRs until you get the S19, the images and that, and then we'll push mine up and then Aadhi can do his stuff for the Mini 3 and the Q?
Ryan: Probably, yeah. I mean, there's just going to be a lot to rebase on top of. So that's one thing. So yeah, probably wouldn't. It would probably be more efficient to wait.
Ryan: Tyler, you have a new toy.
Tyler: We do have a Proto rig that was donated to the 256 Foundation at the office here in Denver that Dylan and I couldn't help ourselves but play with. It's very cool. I haven't seen a lot of testing or review on them online, even though I don't know if you guys have noticed that Sazmining and I think Abundant Mines as well are the two hosting providers. I've seen they're offering Proto boards online. And it's tangent interesting that their business model is renting boards. So the actual chassis and the power supplies and the control board are treated as long-term infrastructure in that sense. You don't have to buy a whole system every time. You just buy boards. I put a little demo video on X showing hot swaps of the hash board, which does work. I got an email from Proto after that video saying it does work, but we don't recommend hot swaps, which is funny. I mean, it behaved fine. We've done it a couple of times now. It's a powerful machine. What did I say in that video? It is... Not three phase power, but it has three PSUs. You can't separate the chassis. Each PSU is five kilowatts. So it's a 15 kilowatt machine. Each board is happier. We only had 5,000 watts of power. So Dylan and I did some testing where we split that amongst nine hash boards and amongst just three hash boards powering one power supply at its full power. And so... It's certainly happier at full power. That's where we saw down to 15 joules per terahash was the most efficient we saw. And it gets closer to that the more power you're pushing through it. There's about a lower limit of, I want to say, 1,100 watts per PSU. So you can run the system as low as 3,300 watts across nine boards. So it's around a petahash machine when it's got all nine boards at full power. It spins up, it responds to power very quickly. In terms of what's relevant for this audience, Dylan, I don't know if you want to speak on this, we ran into some issue connecting it to the hash dash, our hosted Hydrapool. Seems like Proto diverged from a BIP on what is sent to the pool. Dylan, do you remember off the top of your head?
Dylan: Yeah, it was like BIP 318 or something like that. And it was sending... It as a string versus an actual number. So I have a patch that works to rewrite that as a number from the string so Hydrapool can accept it.
Jungly: OK, so the issue was on Proto's side, not on Hydrapool's side?
Dylan: Correct. They deviated from whatever the norms are for communication.
Jungly: Music to my ears.
Tyler: Their source should be coming out soon. We've heard murmurings. I mean, they've said it publicly that they're committing to doing it. I hope it happens soon for the firmware. My understanding is their firmware, I think it's probably clear for everyone on this call, they're not intending Proto firmware to run on other manufacturers or other silicon systems. And so in that sense, it's much more of a check our source, look under the hood, but it's not intended to be a competitor to Mujina. It does sound like there is a way through the API, not through the UI, that we could find to disable the bootloader, secure boot. And so I think this might be the first miner with a native path to put aftermarket firmwares on them where you're not kind of jailbreaking them, which is cool. It does burn out a... Part of the circuit, Skot would know better, to basically show that this system has had aftermarket firmware installed on it. That's for warranty reasons. But it's cool that this is going to be the first system that we can natively throw an aftermarket firmware on. I'd love to get it to the Mujina team's hands. I know there's a large roadmap and a mountain of things to do, but it would be exciting to get tested by you guys. Downside is there's only one control board for all nine hash boards. And it's a big system. It weighs like 140 pounds, fully populated.
Ryan: Cool. Yeah.
Ronald: But you can run those hash boards without the Proto control board. So you can actually hook that up to a computer and run it independently.
Tyler: Can you? I mean, I know that they have those quick data disconnects. Is that a proprietary connection? I haven't investigated that. I mean, I'm sure it's possible. I'm just not sure what hardware is required to do that testing.
Ronald: Yes, it's possible.
Skot: Yeah, we'd have to build a connector to do it, right? I do believe that they use USB to communicate with the hash boards, but it's definitely not a USB connector.
Ronald: No. But it's possible.
Ryan: AditBoard for Proto coming
Ronald: Oh that would be cool I mean I think it'd be really easy
Tyler: This got brought up in the Telegram I want to say a month ago is yeah with with LibreBoard Schnitzel wasn't able to make the call but progress is going well there I don't know if Eco wants to give an update but with that final validation And a situation like this with Proto silicon or Bitmain hash boards, I think there's a lot of desire to have adapters, right? To communicate with these other hash boards if people start getting their hands on LibreBoards.
Sean: Well, that's the concept, right? Bring your own hash board, LibreBoard machine down to the rest.
Ronald: And that would actually be really cool if you could do like a LibreBoard and the Proto hash board. So you mentioned, right, Abundant Mines and Sazmining. I know Abundant Mines will sell both the chassis and the hash board separately. Like, you could take it home. Whereas I think Sazmining is hosting only. They're very expensive. But you could buy just the hash board and do development work on it. And it's more reasonable. It's a little overpriced compared to an S19 hash board. But if you're looking for an alternative piece of hardware and you didn't receive a donation, that's something we can do now. As of last week at NABS.
Ryan: Tyler, if you don't populate all the hash boards, how does cooling work in that chassis, do you think?
Tyler: So when we were at the Proto launch in Georgia, some of us were there. I don't know if you guys recall, but there were blanks. There were these plastic blanks that you could slide into bays that didn't have hash boards in them. And now from our testing, Dylan, correct me if I'm wrong here, it doesn't seem to want to run without three hash boards. So if you're going to power a PSU for one of the three banks, it has to be fully populated. Is that correct, Dylan?
Dylan: Yeah. And because I ran each bay, so with three, two, and one hash boards. And with one, neither of the fans will turn on. With two, one of the two fans will turn on. But they won't hash on either of those configurations. They only want to do it with three boards populated. So I don't know if there's some other control that we're missing.
Ronald: There's a knob you're missing.
Skot: OK.
Ronald: It can run down to one hash board.
Skot: The hash boards have the fan controller hardware built into it. It's kind of an interesting thing.
Sean: Yes.
Tyler: Yeah, so I think there were some limitations that we ran into in our early testing that could perhaps be introduced with additional functionality from a Mujina firmware compatibility for this system. So that'd be exciting to test. And when their repo goes public... I'm not sure if they're going to welcome just a bunch of contributions and PRs from folks like us. We'll have to see. But I'm sure that we'll have feedback for their team. And they're very receptive. I think we've all kind of become aware that they're also very busy. And so if anyone's trying to get in touch with them, don't be discouraged. They're just a busy team. So I'm happy to... Test anything anyone has if you guys would like to see something experimented with with the Proto rig we have here on site just know we don't have 15 kilowatts available to run it at full throttle at least not all the time we have a 50 amp outside but that'll have to be temporary tests you've just only grown pretty sure one time or those RV extension cords
Ryan: Cool. Did Dimi leave? I think Dimi left. Well, he's been playing around with, I think he wants to try to emulate some control boards. But he's been talking about that in Telegram. OK, we're past our hour. Anybody else have anything urgent?
Ronald: Had NABS this week Canaan had a couple representatives there I had a good conversation with them unrelated I'm not at all responsible for their coolest but I did get a VP to get consent to giving me a second conversation we're getting chips on reels with documentation so we'll see how that goes I'm trying to push them real hard, both them and Proto, in that direction.
Sean: Do they say anything about a hardware refresh for the coming year?
Ronald: Like a new ASIC?
Sean: No, not just, well, maybe new ASIC, but also new Nano 3S or the next miners for home mining.
Ronald: No, but I was going to ask about a new ASIC, but I know that if they did have that information, they probably wouldn't share it. But yeah, I could ask about a hardware refresh.
Tyler: I know they're announcing new products at CES. I interpret that as home mining focused devices.
Ronald: Yeah. And they probably wouldn't spoil their surprise.
Tyler: When is CES again?
Sean: July?
Tyler: Early January.
Sean: January. Oh, January. Okay.
Ronald: So maybe in time for Heatpunk Summit, we'll have some new hardware.
Tyler: I hope so.
Ronald: I have not made as much progress on the Intel side of things. I was busy at NABS and Not working on that, but I am resuming it this week, hoping to get everything finished and pushed upstream. I've seen a lot of work from Johnny and Ryan on that. So I'm rebasing some of my changes against latest upstream so that PR 119 can merge cleanly. And Sean's work on autotune and my work on autotune have a little bit of collision. I think maybe Sean and I might have to chat about our two different strategies. And normalize them a little bit. Because mine hasn't made its way public because it's garbage development practices on my part.
Sean: Yeah, let's sync up. I want to see what you got and what we've got. We've referenced a couple different open source ones that folks have built for the Bitaxes.
Ronald: Yeah.
Sean: And then some other stuff that we've put in there from our experience too. But yeah, let me know. Like an Uber. Yeah, and my...
Ronald: My focus has been to try to target things like thermostat control for like the hash bed. So Andy and Aadhi's, you know, you can hit a set point and really strongly maintain it and allow the other variables to float.
Sean: Nice. Yeah, that's good. We were looking at doing some other things too, like being able to do scheduling and then, yeah, like targeting different modes at different times and then try to hit those and maintain those as well. So I think that'll be good.
Skot: Cool.
Ryan: Cool. Yeah, as I mentioned in that post, everybody should go read. I think next year we'll have some big focus early on on how we integrate all this stuff and bring it all back into a shared code base as much as we can. It'll be a lot of work, but fun. All right, well, thanks, everybody. Happy Thanksgiving to everybody who's celebrates that and we'll be back in two weeks and say say a good word for the S19 images maybe we'll be lucky thanks everybody
Sean: If there's anything that you folks need us to specifically look at either on the like with the Nano side or any of the axe line or anything like that just let us know we can kind of shift gears right now it's just doing some stability and a couple feature enhancements like the stuff in the SDK. And then the other tuner is going to be the next big piece.
Ryan: Cool. All right. Well, I will see everybody on Telegram.
Sean: Thanks, Ryan.
Ryan: Thanks, guys.
Sean: Thank you.
Dev-call summaries and transcripts live in the Dev Calls discussion category. Transcript pages here are linked from their discussion threads.