Skip to main content

HANDOVER

Constant HANDOVER 

Source
pub const HANDOVER: u8 = b'H';
Expand description

Replace a running installed package with another version WITHOUT STOPPING IT: [MARKER, HANDOVER, "publisher/name version"]. The supervisor checks the new version, starts it beside the running one, and tells the running one to hand over (gs::handover). Where either version cannot - it is not running, or a contract does not declare handover - it stops the old and starts the new, as INSTALL after UNINSTALL would. Answered [OK, how], how b'H' handed over live or b'R' restarted, or [FAILED, reason...].