Start9Labs / bitcoind-startos

wrapper for building bitcoind.s9pk
Other
14 stars 20 forks source link

recover from 22.0.0 migration bug #64

Closed chrisguida closed 2 years ago

chrisguida commented 2 years ago

Version 22.0.0 had a bad config migration, which updated empty lists (addnode: []) to lists containing one invalid object (addnode: [{port: ~}]). The migration is supposed to convert a list of strings to a list of objects. The object must contain the key hostname or it is considered invalid. For some reason some invocations of the yq map function apparently insert [invalid] objects even when mapping empty lists.

This new release fixes invalid configs resulting from the application of the broken migration, and also performs the migration.