mirror of
https://github.com/urbit/shrub.git
synced 2025-01-03 10:02:32 +03:00
enable ivory slog printfs during dawn (ethereum pre-boot validation)
This commit is contained in:
parent
3507e5dbf0
commit
1f15266d48
@ -331,12 +331,27 @@ _daemon_come(u3_noun star, u3_noun pill, u3_noun path)
|
||||
_daemon_dawn(u3_dawn_come(), pill, path);
|
||||
}
|
||||
|
||||
static void
|
||||
_daemon_slog(u3_noun hod)
|
||||
{
|
||||
u3_pier_tank(0, u3k(u3t(hod)));
|
||||
u3z(hod);
|
||||
}
|
||||
|
||||
/* _daemon_dawn(): boot from keys, validating
|
||||
*/
|
||||
void
|
||||
_daemon_dawn(u3_noun seed, u3_noun pill, u3_noun path)
|
||||
{
|
||||
// enable ivory slog printfs
|
||||
//
|
||||
u3C.slog_f = _daemon_slog;
|
||||
|
||||
u3_pier_boot(sag_w, u3k(u3h(seed)), u3_dawn_vent(seed), pill, path);
|
||||
|
||||
// disable ivory slog printfs
|
||||
//
|
||||
u3C.slog_f = 0;
|
||||
}
|
||||
|
||||
/* _daemon_exit(): exit parser
|
||||
|
Loading…
Reference in New Issue
Block a user