Skip to content
This repository has been archived by the owner on Apr 29, 2019. It is now read-only.

Merging Develop to Master for Alpha 1 #91

Merged
merged 115 commits into from
May 29, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
5a03ae5
Changes docker image in compose file to pull develop tag now
philipbeadle Feb 23, 2018
b7f9f59
Starting on anchors for clutter
philipbeadle Mar 2, 2018
c36d4ed
Attempting to get tests to pass consistently
philipbeadle Mar 4, 2018
64c9a56
Tests passing now that Ive changed timing of nodes, also added debugs…
philipbeadle Mar 4, 2018
4e7c2a5
Working on scenario
philipbeadle Mar 5, 2018
8946346
DNA test all pass with Posts being linked to Anchors now instead of A…
philipbeadle Mar 5, 2018
8ee5e28
UI Tests run local but failng on Travis
philipbeadle Mar 5, 2018
9a22f67
All DAn tests now pass with new use of Anchors
philipbeadle Mar 5, 2018
428c9c3
Tweaks
philipbeadle Mar 5, 2018
774b066
Scenario tests and anchors all working
philipbeadle Mar 6, 2018
1429756
Added test for handle exists in update handle
philipbeadle Mar 6, 2018
7f64cb2
All tests except scaling pass now for DNA
philipbeadle Mar 6, 2018
a15aa99
Update docker-compose to new docker hub image
philipbeadle Mar 6, 2018
b6f30e2
Run hcdev test in docker
philipbeadle Mar 6, 2018
37fd7e9
Run hcdev test in docker
philipbeadle Mar 6, 2018
a347fba
Run hcdev test in docker
philipbeadle Mar 6, 2018
d2620db
Merge branch '54-docker-tags' into 48-anchors
philipbeadle Mar 6, 2018
7658f10
Anchors implemented in DNA, handles UI tests pass, need more UI tests…
philipbeadle Mar 7, 2018
0ecf12d
Added a sequence diagram of Collision Of Handles scenario, mermaid ma…
philipbeadle Mar 8, 2018
5633958
Update README.md
Connoropolous Mar 8, 2018
d3b94cb
In progress
philipbeadle Mar 9, 2018
4952a4b
Added error config
philipbeadle Mar 9, 2018
1eb602f
Merge pull request #58 from Holochain/57-error-config
philipbeadle Mar 9, 2018
5e711af
Expected error tests are failing, need to update HC for new error format
philipbeadle Mar 10, 2018
0af019f
fixed clutter and tests to work with core v21
zippy Mar 10, 2018
83a1764
Updated UI to use anchors for handles and posts. Alos started on usi…
philipbeadle Mar 13, 2018
4c17d4a
Can now show followed agent posts
philipbeadle Mar 13, 2018
ea13810
Added some new UI tests, updated getFollow and linking and DNA tests …
philipbeadle Mar 14, 2018
e96e59c
Mostly done, need Connors help
philipbeadle Mar 14, 2018
5c75a6d
Merge pull request #56 from Holochain/Connoropolous-patch-1
Connoropolous Mar 14, 2018
d65de41
setInterval meant the context was getting lost
Connoropolous Mar 15, 2018
5619492
Working on using keys with dpki as a test
philipbeadle Mar 15, 2018
f742e38
Merge branch '48-anchors' of github.com:Holochain/clutter into 48-anc…
philipbeadle Mar 15, 2018
335ac34
make user feed work again
Connoropolous Mar 15, 2018
ddaa778
Merge branch '48-anchors' of github.com:Holochain/clutter into 48-anc…
philipbeadle Mar 15, 2018
92df2b0
Removed a test step to see if that's the issue. Interesting that dock…
philipbeadle Mar 16, 2018
e8aa7e1
Removed a test step to see if that's the issue. Interesting that dock…
philipbeadle Mar 16, 2018
ad589ac
Removed a test step to see if that's the issue. Interesting that dock…
philipbeadle Mar 16, 2018
0301e89
Removed a test step to see if that's the issue. Interesting that dock…
philipbeadle Mar 16, 2018
a3bc8f3
return false in teh commmit validation by default
philipbeadle Mar 16, 2018
78fa897
Merge branch 'develop' into 48-anchors
philipbeadle Mar 16, 2018
b699724
Merge pull request #49 from Holochain/48-anchors
philipbeadle Mar 16, 2018
009e69d
added npm install # (or yarn install)
philipbeadle Mar 16, 2018
33ee759
Merge pull request #59 from Holochain/51-readme
philipbeadle Mar 16, 2018
b558699
Add Travis badge (for development branch)
harlantwood Mar 18, 2018
c1ce79d
Update README.md
Connoropolous Apr 12, 2018
8e35e4a
Merge pull request #60 from harlantwood/patch-1
Connoropolous Apr 12, 2018
594a21b
Update README.md
Connoropolous Apr 12, 2018
5952bf8
Update README.md
Connoropolous Apr 12, 2018
8ba160e
Updated data parameters in README instructions.
artbrock May 7, 2018
7bd217c
Edited instructions
science-girl May 8, 2018
97acc39
Updated Installation Instructions
science-girl May 10, 2018
f43213e
added modal and logic for insuring a handle has been set before conti…
science-girl May 10, 2018
e7cd789
added styles to modal box
science-girl May 10, 2018
f9ab8b7
ui updates
bboyatwork May 14, 2018
ad16070
added re-setting name functionality
science-girl May 15, 2018
2d9060a
name field populated from redux store upon profile load
science-girl May 15, 2018
24ad8db
Merge branch 'develop' into bug-setHandleModalBox
science-girl May 15, 2018
5b65800
removed unused vars
science-girl May 16, 2018
debc55d
fix docker tests for holochain latest
Connoropolous May 16, 2018
cc1a8d8
also fix test flags in .travis.yml
Connoropolous May 17, 2018
1bbb710
incorporated backend error handling and visibility toggling from code…
science-girl May 17, 2018
2700d60
changed visibility toggling back because the whole panel disappeared
science-girl May 17, 2018
eaceb93
added check if first name has not been changed then dont update
science-girl May 17, 2018
c545588
Merge branch 'bug-setHandleModalBox' of https://github.com/Holochain/…
science-girl May 17, 2018
b1504b4
Updating clutter UI style
bboyatwork May 17, 2018
c63020c
deleted BasedOn in DNA
science-girl May 18, 2018
c0e847a
removed semi-colons
science-girl May 18, 2018
cd3ab69
debugging firstName on refresh
science-girl May 18, 2018
bba5228
fixed firstName not displaying bug
Connoropolous May 18, 2018
912e030
fixed more bugs related to firstName
science-girl May 18, 2018
2f72e98
delete hash and link when updating firstName to prevent errors if sam…
science-girl May 19, 2018
9c86c05
changed ui-automation tests to test new functionality
science-girl May 21, 2018
d4b880b
edited ui automation tests to account for changes with modal box
science-girl May 22, 2018
3791cbe
removed semi-colons
science-girl May 22, 2018
e581f66
removed H from post.json test 10
science-girl May 22, 2018
cbc7ee8
removed H ref from posts
science-girl May 22, 2018
6376e26
testing tests by commenting out offending part of ui-test
science-girl May 22, 2018
30320ab
testing tests by commenting out offending part of ui-test
science-girl May 22, 2018
90cf705
testing tests by hard-coding hash for test 10
science-girl May 22, 2018
f86781a
updates to work with hc core v24
zippy May 22, 2018
fc8ea83
added max length check for handle
science-girl May 22, 2018
6ffa32e
errant console log statement
science-girl May 22, 2018
985486b
Merge pull request #81 from holochain/80-updates-for-coreV24
zippy May 22, 2018
09c3f00
fixed merge conflict
science-girl May 22, 2018
a749f72
fixed merge conflict
science-girl May 22, 2018
fcc5d54
Merge pull request #76 from holochain/bug-setHandleModalBox
science-girl May 22, 2018
6da5bdd
fix-merge-conflict
bboyatwork May 22, 2018
1a55e1a
Integrating UI updates
bboyatwork May 22, 2018
9018c63
adds test case that causes anchors to fail
willemolding May 23, 2018
1c6ca8b
fixes multiple anchor bug. Problem was caused by confusion between ro…
willemolding May 23, 2018
093b027
Removed unnecessary clutter subdirectory
bboyatwork May 23, 2018
f564209
urls replaced with links in posts
science-girl May 23, 2018
c2bab9a
removed extraneous files
science-girl May 23, 2018
c42d7f6
added close button on follow screen
science-girl May 23, 2018
df0ff6d
added test case for close button on follow screen
science-girl May 23, 2018
7d3ec44
Fixed gap
bboyatwork May 23, 2018
92643f0
added url check for ui-automation testing
science-girl May 23, 2018
b3c1fcb
Merge pull request #79 from holochain/ui-tweaks
zippy May 23, 2018
5bac10a
Merge branch 'develop' into enhancement-clickablePostLinks
science-girl May 23, 2018
4bb5a10
added firstName field and integrated Micahs App changes
science-girl May 24, 2018
22d09e3
adjusted position of close button and integrated more of Micahs UI ch…
science-girl May 24, 2018
cbf7ec0
edited failing test to click on handle instead of profile button
science-girl May 24, 2018
b03d76c
fixed new meow text area width
science-girl May 24, 2018
e212551
Merge pull request #84 from holochain/enhancement-clickablePostLinks
science-girl May 24, 2018
48312d8
Delete package-lock.json
science-girl May 24, 2018
580ae6b
updated version for alpha 1 release
zippy May 25, 2018
7cd0a69
README update
bboyatwork May 25, 2018
a50deb1
Updated to the update
bboyatwork May 25, 2018
4eef2d6
Merge pull request #82 from willemolding/fix-multiple-anchors-bug
zippy May 25, 2018
51be59e
updated readme for Alpha 1 release
zippy May 25, 2018
57a7e1a
Merge branch 'develop' into 68-readme-clutter-install
zippy May 25, 2018
810c276
added back ui folder for cloneExample to work
zippy May 25, 2018
d6f1aed
readme fix and ui folder
zippy May 25, 2018
b5cf854
Merge pull request #88 from holochain/68-readme-clutter-install
zippy May 25, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ node_modules/
videos/
.DS_Store
screenshots/
ui/
build/
npm-debug.log
yarn.lock
logs/
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ before_install:
- sudo mv docker-compose /usr/local/bin
- TARGETDIR=$(pwd) docker-compose up -d
script:
- docker run --rm -v "$(pwd):/clutter" holochain/holochain-proto:develop bash -c "cd /clutter; hcdev test"
- docker run --rm -v "$(pwd):/clutter" holochain/holochain-proto:develop bash -c "cd /clutter; hcdev scenario collisionOfHandles"
- docker run --rm -v "$(pwd):/clutter" holochain/holochain-proto:develop bash -c "cd /clutter; hcdev scenario followAndShare"
- cd ui-automation
- npm install
- npm test
Expand Down
146 changes: 115 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,86 @@
# Clutter

[![Code Status](https://img.shields.io/badge/Code-Pre--Alpha-orange.svg)](https://github.com/Holochain/clutter#feature-roadmap-and-current-progress)
[![In Progress](https://img.shields.io/waffle/label/Holochain/clutter/in%20progress.svg)](http://waffle.io/Holochain/clutter)
[![Gitter](https://badges.gitter.im/metacurrency/holochain.svg)](https://gitter.im/metacurrency/holochain?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=body_badge)
[![Code Status](https://img.shields.io/badge/Code-Pre--Alpha-orange.svg)](https://github.com/holochain/clutter#feature-roadmap-and-current-progress)
[![Build Status](https://travis-ci.org/holochain/clutter.svg?branch=develop)](https://travis-ci.org/Holochain/clutter)
[![In Progress](https://img.shields.io/waffle/label/holochain/clutter/in%20progress.svg)](http://waffle.io/holochain/clutter)
[![Chat](https://img.shields.io/badge/chat-live-brightgreen.svg)](https://chat.holochain.net/appsup/channels/app-clutter)
[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](http://www.gnu.org/licenses/gpl-3.0)

**P2P twitter-clone built on holochain**
A group of cats is called a Clutter, Cludder, Clowder, Kendle, or Kindle. Maybe it's time for a fully distributed shoutcast network of cool cats to eat a certain bluebird.
**P2P twitter-clone built on Holochain**
A group of cats is called a Clutter, Cludder, Clowder, Kendle, or Kindle. Maybe it's time for a peer-to-peer shoutcast system to eat a certain blue bird.

Clutter is a work in progress, sample application which exists to demonstrate how easy it is to build applications on holochain.
Clutter is a work in progress. It's a sample application designed to demonstrate how easy it is to build applications on [Holochain](https://github.com/holochain/holochain-proto).

If you would like to simply download a build version of the latest Clutter, download and unzip the [latest release](https://github.com/holochain/clutter/releases)

**[Code Status:](https://github.com/metacurrency/holochain/milestones?direction=asc&sort=completeness&state=all)** Pre-alpha. Not for production use. This application has not been audited for any security validation.

## Installation & Usage
## Clutter Installation
### From Holochain Release
If you want to just see Clutter in action and haven't yet installed Holochain, the best way to try it out is simply to use the version included in the latest Holochain release. Go to the [Holochain Releases](https://github.com/holochain/holochain-proto/releases) page and download and unzip the archive for your machine. That archive contains a full version of clutter, along with instructions for running it.

Prerequiste: [Install holochain](https://github.com/metacurrency/holochain/#installation) on your machine and make sure you do the step to set the $GOPATH.
### From Clutter Release
You can download the latest Clutter release directly from the [Clutter Release page](https://github.com/Holochain/clutter/releases).

The best way to try out Clutter on your own is to run 2 instances of Clutter and your own Bootstrap server. So download the latest release from [Clutter Release](https://github.com/Holochain/clutter/releases), unzip it and make 2 copies of the contents into folders called clutter1 and clutter2. Both folders will have a dna folder and a ui folder in each.
### Via `hcdev`

Firstly run the bootstrap server which will let each instance of Clutter know about its peers. The ```bs``` command is part of the Holochain install. If it doesn't work you probably need to set the $GO_PATH variable. (Soon we won't need this step)
**Prerequiste:** [Install holochain](http://developer.holochain.org/Install_Holochain) on your machine and make sure you do the step to set the $GOPATH.

Run the command:

`hcdev init -cloneExample=clutter`

This will create a copy of the Clutter source code in a `clutter` directory.

You can then run clutter in development mode with:

``` shell
cd clutter
hcdev web
```
and point your browser at `http://localhost:4141` to access the UI.

**--or--**,

assuming that you've already setup your Holochain environment with [`hcadmin init`](https://developer.holochain.org/Command_Line_Tools#hcadmin_init) you can join and run Clutter with:

``` shell
cd clutter
hcadmin join . clutter
hcd clutter
```
and point your browser at `http://localhost:3141` to access the UI.

## Installation: for Developers

**Prerequiste:** [Install Holochain](http://developer.holochain.org/Install_Holochain) on your machine and make sure you do the step to set the $GOPATH.

**Dependencies:** If you want to work on the Clutter UI, you will need `nodejs` (https://nodejs.org/en/) (LTS) installed, with `npm` or `yarn` (https://yarnpkg.com/lang/en/docs/install) to be able to build and copy it from the `ui-src` to the `ui` directory:

The following commands will clone the latest build of clutter to your machine (you may want to use your own fork instead of our repo) and then you will either install npm or yarn to build the UI for the app.
```
git clone https://github.com/Holochain/clutter.git
cd clutter/ui-src
npm install # (or yarn install)
npm run build # (or yarn build)
cd ..
```

After `npm run build`, `npm start` to configure and start the React UI.

### Running Clutter in Dev mode
Now if you want to run the app, you can run:
```
hcdev web
```

### Running Clutter with Local Boostrap

Holochain does local discovery with MDNS which is not always availble on Windows machines. So during development instead you may want to run your own local bootstrap server for node discovery. These instructions detail how to run 2 instances of Clutter and your own Bootstrap server.

Make two copies of your your clutter folder one called `clutter1` and the other `clutter2`. Both folders will need to have a dna folder and a ui folder in each.

Firstly run the bootstrap server which will let each instance of Clutter know about its peers. The ```bs``` command is part of the Holochain install. If it doesn't work you probably need to set the $GO_PATH variable. (Soon we won't need this step)
```
bs
```
Expand All @@ -32,29 +93,29 @@ You will get a response like
Now start up Clutter in each folder.
```
cd clutter1
hcdev -no-nat-upnp -port=6001 -agentID=lucy -mdns=true -bootstrapServer=localhost:3142 web 3141
hcdev -DHTport=6001 -agentID=lucy -bootstrapServer=localhost:3142 web 3141

cd ..
cd clutter2
hcdev -no-nat-upnp -port=6002 -agentID=phil -mdns=true -bootstrapServer=localhost:3142 web 4141
hcdev -DHTport=6002 -agentID=phil -bootstrapServer=localhost:3142 web 4141
```
You will see a response like:
```
Copying chain to: /Users/philipbeadle/.holochaindev
Serving holochain with DNA hash:QmVbbeDAHVxC9cTvx6UhNEeTCK99SRKfxKDz3s4mR6TnsS on port:3141
```
Now open a browser at http://localhost:3142/QmVbbeDAHVxC9cTvx6UhNEeTCK99SRKfxKDz3s4mR6TnsS (substituting in the DNA hash from the response above if different) and look at the Bootstrap server. You will see 2 records like this
Now open a browser at http://localhost:3142/QmVbbeDAHVxC9cTvx6UhNEeTCK99SRKfxKDz3s4mR6TnsS (substituting in the DNA hash from the response above if different) and look at the Bootstrap server. You will see 2 records like this
```doQmVbbeDAHVxC9cTvx6UhNEeTCK99SRKfxKDz3s4mR6TnsS
[{"Req":{"Version":1,"NodeID":"QmTAjDmQHobs2oQZp4UrbSzkShUGVKcsQUdakHeQ4YYxRX","NodeAddr":"/ip4/0.0.0.0/tcp/6003"},"Remote":"[::1]:63187","LastSeen":"2018-01-11T12:32:15.659887156+11:00"},{"Req":{"Version":1,"NodeID":"QmWQVaqEayZJWnvxLtsKr1iyeTDp3s7m7TTE36HhAUTiTK","NodeAddr":"/ip4/0.0.0.0/tcp/6002"},"Remote":"[::1]:63153","LastSeen":"2018-01-11T12:28:40.85765899+11:00"}]
```
Now open a browser to http://localhost:3141 and you will see Clutter. Open another tab to http://localhost:4141 and you now have 2 instances of Clutter that you can chat between. Add a handle in each and then meow and follow each instance and you will see the meows!!
Now open a browser to http://localhost:3141 and you will see Clutter. Open another tab to http://localhost:4141 and you now have 2 instances of Clutter that you can chat between. Add a handle in each and then meow and follow each instance and you will see the meows!!

### Docker Usage
## Docker Usage
You can do all this much easier with Docker. Download the latest release from [Clutter Release](https://github.com/Holochain/clutter/releases), unzip it and cd into the folder. Then run
```
cd ui-src
yarn install
yarn build
npm install # (or yarn install)
npm run build # (or yarn build)
cd ..
TARGETDIR=$(pwd) docker-compose up
```
Expand All @@ -67,34 +128,55 @@ This will build the source into a React app and install it in Holochain. Then yo
```
and try out Clutter.

### Tests
## Tests
To run all the stand alone DNA tests:

``` shell
hcdev test
```

Currently there are two scenario tests:
## Scenarios

### Scenario - Collision Of Handles - Sequence Diagram

``` shell
hcdev scenario collisionOfHandles
```

<img src="collisionOfHandles-sequence.svg" width="80%" />

#### followAndShare
``` shell
hcdev -mdns=true scenario followAndShare
hcdev scenario followAndShare
```
This test spins up two nodes `jane` and `joe` and tests that following and reading posts works. To watch the network traffic and details try:

``` shell
hcdev -debug -mdns=true scenario followAndShare
hcdev -debug scenario followAndShare
```
#### scaling

This test is designed to be run on separate machines and spins up many clones on each and confirms that they all talk to each other.

## UI automation
in clutter folder
```
hcdev -execpath=$HOME/.holochaindev1 -DHTport=6001 -agentID=agent3141 web 3141
hcdev -execpath=$HOME/.holochaindev2 -DHTport=6002 -agentID=agent4141 web 4141
hcdev -execpath=$HOME/.holochaindev3 -DHTport=6003 -agentID=agent5141 web 5141
```

if running all in one terminal you will need to kill the processes between restarts.
```
kill -kill `lsof -t -i tcp:3141` & kill -kill `lsof -t -i tcp:4141` & kill -kill `lsof -t -i tcp:5141`
```

## What the Automated build does

When a branch is pushed to Github Travis runs a build. The build does the following:
When a branch is pushed to Github Travis runs a build. The build does the following:
1. Installs docker-compose
2. Runs docker-compose up -d which spins up a bootstrap server and 3 instances of clutter
3. Install the cypress dependencies
3. Installs the cypress dependencies
4. Runs the Cypress e2e tests.
5. If on master a new release is published to github releases. (coming soon)

Expand All @@ -105,12 +187,14 @@ When a branch is pushed to Github Travis runs a build. The build does the follo
- [x] Follow someone (by specified handle)
- [x] Unfollow someone
- [x] View post stream of people you follow sorted by time
- [x] Detect #hashtags in post text
- [x] Create hashtag anchors if they don't exist
- [x] Link from hashtag anchor to posts with that hashtag
- [x] Show posts which have a particular hashtag
- [x] Mark posts as a favorite :star:
- [x] Link favorited posts from a user/handle
- [x] Provide React/Redux UI
- [x] Implement Cypress and Storybook UI testing
- [ ] Detect #hashtags in post text
- [ ] Create hashtag anchors if they don't exist
- [ ] Link from hashtag anchor to posts with that hashtag
- [ ] Show posts which have a particular hashtag
- [ ] Mark posts as a favorite :star:
- [ ] Link favorited posts from a user/handle
- [ ] Show someone's :star: favorited posts
- [ ] Edit a previous post **(partially implemented)**
- [ ] Refollow someone previously unfollowed **(partially implemented - Have to fix put/del/put links sequence)**
Expand All @@ -134,7 +218,7 @@ When a branch is pushed to Github Travis runs a build. The build does the follo


## Contribute
We welcome pull requests and issue tickets. Find us on [gitter](https://gitter.im/metacurrency/holochain) to chat.
We welcome pull requests and issue tickets. Find us on [gitter](https://gitter.im/metacurrency/holochain) to chat.

Contributors to this project are expected to follow our [development protocols & practices](https://github.com/metacurrency/holochain/wiki/Development-Protocols).

Expand All @@ -143,6 +227,6 @@ Contributors to this project are expected to follow our [development protocols &

Copyright (C) 2017, The MetaCurrency Project (Eric Harris-Braun, Arthur Brock, et. al.)

This program is free software: you can redistribute it and/or modify it under the terms of the license provided in the LICENSE file (GPLv3). This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This program is free software: you can redistribute it and/or modify it under the terms of the license provided in the LICENSE file (GPLv3). This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

**Note:** We are considering other 'looser' licensing options (like MIT license) but at this stage are using GPL while we're getting the matter sorted out.
66 changes: 66 additions & 0 deletions collisionOfHandles-sequence.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
Copying chain to: /Users/philipbeadle/.holochaindev
Holochain dev service initialized:
/tmp/hcdev_scenario_test_nodes_philipbeadle/art directory created
defaults stored to system.conf
key-pair generated
using [email protected] as default agent identity (stored to agent.txt)
Copying chain to: /tmp/hcdev_scenario_test_nodes_philipbeadle/art
Holochain dev service initialized:
/tmp/hcdev_scenario_test_nodes_philipbeadle/lucy directory created
defaults stored to system.conf
key-pair generated
using [email protected] as default agent identity (stored to agent.txt)
Copying chain to: /tmp/hcdev_scenario_test_nodes_philipbeadle/lucy
Holochain dev service initialized:
/tmp/hcdev_scenario_test_nodes_philipbeadle/phil directory created
defaults stored to system.conf
key-pair generated
using [email protected] as default agent identity (stored to agent.txt)
Copying chain to: /tmp/hcdev_scenario_test_nodes_philipbeadle/phil
lucy: Test 'lucy.0' t+2000ms: Lucy creates a new handle the first time she uses Clutter
lucy: <mermaid>[email protected]>>DHT:Check to see if [email protected] has any exisitng handles</mermaid>
lucy: <mermaid>DHT->>[email protected]:returns any handles</mermaid>
phil: Test 'phil.0' t+6000ms: Phil sets up a new handle 'Archer' the first time he uses Clutter
phil: <mermaid>[email protected]>>DHT:Check to see if [email protected] has any exisitng handles</mermaid>
phil: <mermaid>DHT->>[email protected]:returns any handles</mermaid>
phil: <mermaid>[email protected]>>DHT:Check to see if Archer exists</mermaid>
phil: <mermaid>DHT-->>[email protected]:Archer does not exist</mermaid>
phil: <mermaid>[email protected]>>DHT:Check to see if Archer is already taken</mermaid>
phil: <mermaid>[email protected]>>DHT:Check to see if handle has been setup</mermaid>
phil: <mermaid>[email protected]>>DHT:Check to see if the Root of all anchors has been setup</mermaid>
phil: <mermaid>[email protected]>>[email protected]:commit Root of all anchors to local chain</mermaid>
phil: <mermaid>[email protected]>>DHT:Publish Root of all anchors</mermaid>
phil: <mermaid>DHT-->>[email protected]:Return the Root Anchor Type</mermaid>
phil: <mermaid>[email protected]>>[email protected]:commit handle to local chain</mermaid>
phil: <mermaid>[email protected]>>DHT:Publish handle</mermaid>
phil: <mermaid>[email protected]>>DHT:Link handle to Root of all anchors</mermaid>
phil: <mermaid>[email protected]>>[email protected]:commit Archer has been setup</mermaid>
phil: <mermaid>[email protected]>>DHT:Publish Archer</mermaid>
phil: <mermaid>[email protected]>>DHT:Link Archer to handle</mermaid>
phil: <mermaid>DHT-->>[email protected]:Return the anchor for Archer</mermaid>
phil: <mermaid>[email protected]>>[email protected]:commit new handle</mermaid>
phil: <mermaid>[email protected]>>DHT:Publish Archer</mermaid>
phil: <mermaid>[email protected]>>DHT:Link Archer to "handle_links"</mermaid>
phil: <mermaid>[email protected]>>DHT:Link Archer to "directory_links"</mermaid>
phil: passed! ✔
art: Test 'art.0' t+8001ms: Art tries to use handle 'Archer' which is already taken by Phil
art: <mermaid>[email protected]>>DHT:Check to see if [email protected] has any exisitng handles</mermaid>
art: <mermaid>DHT->>[email protected]:returns any handles</mermaid>
art: <mermaid>[email protected]>>DHT:Check to see if Archer exists</mermaid>
art: <mermaid>DHT-->>[email protected]:Archer exists</mermaid>
art: passed! ✔
lucy: <mermaid>[email protected]>>DHT:Check to see if Lucy exists</mermaid>
lucy: <mermaid>DHT-->>[email protected]:Lucy does not exist</mermaid>
DHT Query with no peers in routing table!
lucy: <mermaid>[email protected]>>DHT:Check to see if Lucy is already taken</mermaid>
lucy: <mermaid>[email protected]>>DHT:Check to see if handle has been setup</mermaid>
lucy: <mermaid>DHT-->>[email protected]:Return the anchorType handle</mermaid>
lucy: <mermaid>[email protected]>>[email protected]:commit Lucy has been setup</mermaid>
lucy: <mermaid>[email protected]>>DHT:Publish Lucy</mermaid>
lucy: <mermaid>[email protected]>>DHT:Link Lucy to handle</mermaid>
lucy: <mermaid>DHT-->>[email protected]:Return the anchor for Lucy</mermaid>
lucy: <mermaid>[email protected]>>[email protected]:commit new handle</mermaid>
lucy: <mermaid>[email protected]>>DHT:Publish Lucy</mermaid>
lucy: <mermaid>[email protected]>>DHT:Link Lucy to "handle_links"</mermaid>
lucy: <mermaid>[email protected]>>DHT:Link Lucy to "directory_links"</mermaid>
lucy: passed! ✔
Loading