---
# System prepended metadata

title: Handshake Developer Call 4/30/2020

---

# Handshake Developer Call 4/30/2020

[4/2/2020 agenda](https://gist.github.com/tynes/091ae00a0c9e1748bf49cb9efa6fc104)
[4/16/2020 agenda](https://hackmd.io/@handshake/S1mqxurdL)

## News

#### Learn about Handshake

Handshake combines all of the things about Bitcoin with all of the things about DNS, so it is a lot to grasp. Some websites to help:

https://hsd-dev.org
https://learn.namebase.io/

#### New Registrar

WhaleEx has added support for Handshake auctions. They are the second known domain registrar for Handshake.

https://w.whaleex.com.cn/poster/interview/1588076937000_28848.html

#### DNS Amplification Attack

Handshake public resolvers were being spammed by spoofed DNS queries. How do we solve this problem?

https://www.cloudflare.com/learning/ddos/dns-amplification-ddos-attack/

#### Nameswaps Codebase

Extremely WIP decentralized exchange for Handshake names on the secondary market. The main ideas have been hardened but the application itself could still use some work and refactoring. It is built as a plugin to `hsd`. The majority of the work to complete is building out a wallet for good user experience. This requires a wallet that can manage arbitrary p2wsh outputs, which the current wallet doesn't really do that.

https://github.com/tynes/nameswaps

See the tests here for the general idea of how the atomic swap works:

https://github.com/tynes/nameswaps/blob/master/test/swapsring-test.js

#### Handout: Easy Authoritatize Nameserver

Easily set up an authoritative nameserver to use with your Handshake name.

https://github.com/pinheadmz/handout

#### Friday Streams

Live stream with some Handshake developers last Friday. We spoke about some different topics related to `hsd`. Note that there were some audio issues at the beginning, but they were fixed before we got to the really interesting stuff.

https://www.twitch.tv/videos/601437347

#### Handshake Developer Funding

Purse.io sponsored multiple developers full time to contribute to Handshake and its unlikely this will continue to happen into the future.
There is no Handshake Foundation and the money that was raised was donated to open source.
Please help to support Handshake developers that are looking for jobs. See the Link for more information:

https://www.reddit.com/r/handshake/comments/g33evp/purseio_is_closing_what_does_that_mean_for/

## Issues/PRs

#### Wallet Claim Spending

A bug in the wallet prevented any name claims from updating using the `sendupdate` API. There was an assumption that `REGISTER` outputs would only come from `REVEAL` outputs, but they can also come from `CLAIM` outputs.

https://github.com/handshake-org/hsd/pull/438

#### Rotate log files and prune oldest archival files

It is possible to dos a node by filling up its disk with logfiles. This means that the user must have a large enough disk or set up some sort of job to manage rolling over logfiles. This PR addresses that issue by creating a max logfile size, maintaining multiple logfiles and then deleting the oldest ones.

https://github.com/bcoin-org/blgr/pull/8

#### Hostlist Addr Selection

This is something that we spoke about at a high level last week and there wasn't much interest is diving more deeply, but I do think that the Hostlist could be hardened. It looks like there is nothing that properly deprioritizes stale/bad hostlist entries, even after multiple attempts to connect to them. Hostlist entries are only evicted if new entries are being added, which assumes that the network is growing.

https://github.com/handshake-org/hsd/issues/424

#### hnsd Status Update

Zippy has been working on `hnsd`, see the progress here:
https://github.com/pinheadmz/hnsd/tree/mainnet1

It can currently sync headers and maintain encrypted connections with peers. Plaintext p2p support still needs to be added along with parsing the new Resource serialization.

Keeping `hnsd` encrypted only might not be the worst idea, it would encourage people to be more intentional about their setup. There would have to be more seeds that accept inbound brontide connections to be able to support this.


## Extra