[API] Does register_update merge branches?

Does autonomi::client::Client::register_update() function write with branch merge? I.e. if we have a record with two branches, and do a register_update, do we end up with single-branch record?


Check out the Dev Forum

4 Likes

You probably need to look at the code and answer your own questions for now. :man_shrugging:

1 Like

I had an idle moment so had a look. I can barely comprehend what I’m reading but maybe it’s a single-branch record?

    /// Updates a Register on the network with a new value. This will overwrite existing value(s).

...

            .put_record(record, &put_cfg)

?

But I think there ought to be a Topic called something like ‘API Questions’ rather than a topic for every question!

3 Likes

Looks like the answer, thanks. I’ve seen it also, but perhaps didn’t understand it correctly.

Oh, pardon. I did not assume, that separate topics could be a problem. I’ll put upcoming questions in a common topic. Thanks for pointing that out. I recall the discussion about taking down Developer Forum, there were some requests for a separate category for developers on this forum, but nothing has been done since then.

4 Likes