LN-Zap / zap-android

Zap Wallet - Native android lightning wallet for node operators focused on user experience and ease of use ⚡️
MIT License
165 stars 49 forks source link

Refactor contacts structure #380

Closed michaelWuensch closed 2 years ago

michaelWuensch commented 2 years ago

Description

This PR adds versioning to the contacts structure and the connections structure. It updates the contacts structure to support different type of contacts.

Motivation and Context

This is the ground work for a future update to support different contact types like LNAddress contacts, Node contacts, etc. By integrating versioning it will be easier in the future to change stuff without breaking implementations.

How Has This Been Tested?

My S9

Types of changes

Checklist: