two more util functions for descriptors
two more util functions for descriptors

zenmumbler/libzm,stardazed/stardazed,zenmumbler/libzm,stardazed/stardazed,zenmumbler/stardazed-tx,zenmumbler/stardazed-tx,stardazed/stardazed-tx,zenmumbler/libzm,zenmumbler/stardazed-tx,zenmumbler/libzm,zenmumbler/stardazed-tx,stardazed/stardazed-tx,stardazed/stardazed-tx